mirror of
https://github.com/opnsense/src.git
synced 2026-03-20 01:35:49 -04:00
according to POSIX document, the clock ID may be dynamically allocated, it unlikely will be in 64K forever. To make it future compatible, we pack all timeout information into a new structure called _umtx_time, and use fourth argument as a size indication, a zero means it is old code using timespec as timeout value, but the new structure also includes flags and a clock ID, so the size argument is different than before, and it is non-zero. With this change, it is possible that a thread can sleep on any supported clock, though current kernel code does not have such a POSIX clock driver system. |
||
|---|---|---|
| .. | ||
| arch | ||
| support | ||
| sys | ||
| thread | ||
| libthr.3 | ||
| Makefile | ||
| pthread.map | ||