Searched hist:151692 (Results 1 - 2 of 2) sorted by relevance
/freebsd-11-stable/sys/sys/ | ||
H A D | umtx.h | diff 151692 Wed Oct 26 04:55:46 MDT 2005 davidxu do umtx_wake at userland thread exit address, so that others userland threads can wait for a thread to exit, and safely assume that the thread has left userland and is no longer using its userland stack, this is necessary for pthread_join when a thread is waiting for another thread to exit which has user customized stack, after pthread_join returns, the userland stack can be reused for other purposes, without this change, the joiner thread has to spin at the address to ensure the thread is really exited. |
/freebsd-11-stable/sys/kern/ | ||
H A D | kern_umtx.c | diff 151692 Wed Oct 26 04:55:46 MDT 2005 davidxu do umtx_wake at userland thread exit address, so that others userland threads can wait for a thread to exit, and safely assume that the thread has left userland and is no longer using its userland stack, this is necessary for pthread_join when a thread is waiting for another thread to exit which has user customized stack, after pthread_join returns, the userland stack can be reused for other purposes, without this change, the joiner thread has to spin at the address to ensure the thread is really exited. |
Completed in 76 milliseconds