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
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
sys/kern/kern_umtx.c | ||
---|---|---|
574 | if (uf == NULL) return (0); Then decrease indent level by one. | |
575 | 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 | ||
124 | If the field is 32bit mask, then might be uint32_t type is better? It is explicit. |