mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
atomically: 1) Search _thread_list for the thread to join. 2) Search _dead_list for the thread to join. 3) Set the running thread as the joiner. While we're at it, fix a race in the case where multiple threads try to join on the same thread. POSIX says that the behavior of multiple joiners is undefined, but the fix is cheap as a result of the other fix. |
||
|---|---|---|
| .. | ||
| arch | ||
| man | ||
| sys | ||
| test | ||
| uthread | ||
| Makefile | ||