Details
Details
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
sys/kern/subr_atomic64.c | ||
---|---|---|
78 ↗ | (On Diff #66285) | Why not make LOCK_A64() be more like: { register s; s = intr_disable(); and UNLOCK_A64() be: intr_restore(s); } Then you don't need the added LOCK_DECL. I think pthread_cleanup_push() and pthread_cleanup_pop() do something like this. |