Reenable signals for threads after joining.

Submitted by:	Marc Olzheim <marcolz@stack.nl>
This commit is contained in:
Daniel Eischen 2003-12-31 13:41:54 +00:00
parent 38816a4377
commit eae42a5949

View File

@ -138,6 +138,9 @@ _pthread_join(pthread_t pthread, void **thread_return)
ret = curthread->join_status.error;
if ((ret == 0) && (thread_return != NULL))
*thread_return = curthread->join_status.ret;
/* Undefer and handle pending signals, yielding if necessary: */
_thread_kern_sig_undefer();
} else {
/*
* The thread exited (is dead) without being detached, and no