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
- rS FreeBSD src repository - subversion
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 46788 Build 43677: arc lint + arc unit
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. |