Main index | Section 2 | Options |
#include <sys/thr.h>
The thr_exit() system call terminates the current kernel-scheduled thread.
If the state argument is not NULL, the location pointed to by the argument is updated with an arbitrary non-zero value, and an _umtx_op(2) UMTX_OP_WAKE operation is consequently performed on the location.
Attempts to terminate the last thread in the process are silently ignored. Use _exit(2) syscall to terminate the process.
THR_EXIT (2) | May 5, 2020 |
Main index | Section 2 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.