diff options
| author | Daniel Eischen <deischen@FreeBSD.org> | 2003-05-16 19:58:30 +0000 |
|---|---|---|
| committer | Daniel Eischen <deischen@FreeBSD.org> | 2003-05-16 19:58:30 +0000 |
| commit | fd626336fd97bad05a86f02b646c66d2fe14d01a (patch) | |
| tree | b51a83e5c85ef7655ee05174c31348fd86fe4591 /lib/libpthread/thread/thr_sigsuspend.c | |
| parent | 72a3951459cd8937c6b6f0b43804c39889c4ae30 (diff) | |
Notes
Diffstat (limited to 'lib/libpthread/thread/thr_sigsuspend.c')
| -rw-r--r-- | lib/libpthread/thread/thr_sigsuspend.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libpthread/thread/thr_sigsuspend.c b/lib/libpthread/thread/thr_sigsuspend.c index 9ada1b2bb984..59161566bb51 100644 --- a/lib/libpthread/thread/thr_sigsuspend.c +++ b/lib/libpthread/thread/thr_sigsuspend.c @@ -57,9 +57,7 @@ _sigsuspend(const sigset_t *set) THR_SET_STATE(curthread, PS_SIGSUSPEND); /* Wait for a signal: */ - _thr_sched_switch(curthread); - - THR_UNLOCK_SWITCH(curthread); + _thr_sched_switch_unlocked(curthread); /* Always return an interrupted error: */ errno = EINTR; |
