For plain accesses, I can see no reason not to provide them. They will
be useful for jhb's re-import of if_wg.
Details
Details
- Reviewers
kib jhb - Commits
- rG2bed73739aac: atomic: Add plain atomic_load/store_bool()
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
sys/sys/atomic_common.h | ||
---|---|---|
42 | Why #ifdef _KERNEL? Using _Bool, you can do it for userspace, I think. Also, this is a macro, so type is dormant unless the macro is actually used. |