3 ms·
That’s not true. Just create a 32 or 64 bit futex, and use that to let threads write their thread ID into it. https://www.kernel.org/doc/Documentation/pi-futex
by EdSchouten 4y ago
That’s not true. Just create a 32 or 64 bit futex, and use that to let threads write their thread ID into it.
https://www.kernel.org/doc/Documentation/pi-futex.txt https://www.kernel.org/doc/Documentation/pi-futex.txt
- cryptonector 4y agoBut the whole point here is to have teeny tiny futexes.