diff options
| author | David Xu <davidxu@FreeBSD.org> | 2003-07-04 08:51:37 +0000 |
|---|---|---|
| committer | David Xu <davidxu@FreeBSD.org> | 2003-07-04 08:51:37 +0000 |
| commit | a1a9b0071e4bc1d6d5616d37196f44116df29768 (patch) | |
| tree | a3e2deda3762e08a3ff491a551c5dc0e70d9fbac /lib/libpthread/thread/thr_sigwait.c | |
| parent | dfde101719562e3c9c126f8139cd209578e18e2d (diff) | |
Notes
Diffstat (limited to 'lib/libpthread/thread/thr_sigwait.c')
| -rw-r--r-- | lib/libpthread/thread/thr_sigwait.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libpthread/thread/thr_sigwait.c b/lib/libpthread/thread/thr_sigwait.c index a2411310b1a2..ac4497287c19 100644 --- a/lib/libpthread/thread/thr_sigwait.c +++ b/lib/libpthread/thread/thr_sigwait.c @@ -116,7 +116,8 @@ lib_sigtimedwait(const sigset_t *set, siginfo_t *info, siginfo = curthread->siginfo[i - 1]; KSE_SCHED_UNLOCK(curthread->kse, curthread->kseg); - _kse_critical_leave(crit); + KSE_LOCK_ACQUIRE(curthread->kse, + &_thread_signal_lock); ret = i; goto OUT; } |
