diff options
| author | Daniel Eischen <deischen@FreeBSD.org> | 2003-12-31 13:41:54 +0000 |
|---|---|---|
| committer | Daniel Eischen <deischen@FreeBSD.org> | 2003-12-31 13:41:54 +0000 |
| commit | eae42a59499700f045162bf0a73e2ada12056884 (patch) | |
| tree | 05b8f7617dd9e810fda8e3f40e5448f2609da00f /lib/libc_r | |
| parent | 38816a4377a3610217f601077efeb93c92e37cfd (diff) | |
Notes
Diffstat (limited to 'lib/libc_r')
| -rw-r--r-- | lib/libc_r/uthread/uthread_join.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libc_r/uthread/uthread_join.c b/lib/libc_r/uthread/uthread_join.c index 75ec1f0d64e79..a410a01e1ac10 100644 --- a/lib/libc_r/uthread/uthread_join.c +++ b/lib/libc_r/uthread/uthread_join.c @@ -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 |
