summaryrefslogtreecommitdiffstats
path: root/tools/regression/lib/libc
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2013-06-16 09:30:35 +0000
committered <ed@FreeBSD.org>2013-06-16 09:30:35 +0000
commit99f22b551f1de22d4f5967a2fc5307f25cc930dd (patch)
tree867a068e99b951436672e1a245e4a93e7a637699 /tools/regression/lib/libc
parent7c523f792f20d7112619c1a3c1bda417ebe78fc2 (diff)
downloadFreeBSD-src-99f22b551f1de22d4f5967a2fc5307f25cc930dd.zip
FreeBSD-src-99f22b551f1de22d4f5967a2fc5307f25cc930dd.tar.gz
Change callout use counter to use C11 atomics.
In order to get some coverage of C11 atomics in kernelspace, switch at least one piece of code in kernelspace to use C11 atomics instead of <machine/atomic.h>. While there, slightly improve the code by adding an assertion to prevent the use count from going negative.
Diffstat (limited to 'tools/regression/lib/libc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud