]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
bitset: implement BIT_TEST_CLR_ATOMIC & BIT_TEST_SET_ATOMIC
authorRyan Libby <rlibby@FreeBSD.org>
Thu, 31 Dec 2020 21:02:45 +0000 (13:02 -0800)
committerRyan Libby <rlibby@FreeBSD.org>
Thu, 31 Dec 2020 21:02:45 +0000 (13:02 -0800)
commitae4a8e52072a87bfd49d553b9b14450c626269f8
treebaf46a9e617360c2047603595802d8655bf2b7f8
parent1e54857bd9f5791ec1edfc5c21edb374519e9061
bitset: implement BIT_TEST_CLR_ATOMIC & BIT_TEST_SET_ATOMIC

That is, provide wrappers around the atomic_testandclear and
atomic_testandset primitives.

Submitted by: jeff
Reviewed by: cem, kib, markj
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D22702
share/man/man9/bitset.9
sys/sys/bitset.h