Bitset is a Linux emulation layer extension. This 32-bit mask, in which at least
one bit must be set, is used to select which threads should be woken up.
Details
Details
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 40574 Build 37463: arc lint + arc unit
Event Timeline
sys/kern/kern_umtx.c | ||
---|---|---|
570 | if (uf == NULL) return (0); Then decrease indent level by one. | |
571 | I do not know the intent, but what if there is a hole in the queue WRT bitmask? I mean, e.g. if we have thee elements with the uq_bitset values 1, 2, 4, and bitset is 5. Then you miss the element 4. | |
sys/sys/umtxvar.h | ||
126 | If the field is 32bit mask, then might be uint32_t type is better? It is explicit. |