diff options
| author | David Xu <davidxu@FreeBSD.org> | 2003-08-18 03:58:29 +0000 |
|---|---|---|
| committer | David Xu <davidxu@FreeBSD.org> | 2003-08-18 03:58:29 +0000 |
| commit | e81bbed597a0ea8392ded3f1161aa98151c496a5 (patch) | |
| tree | e6cd1320cfc169c79d0f276a0d69df8a3e83fcd4 /lib/libpthread/thread/thr_sigsuspend.c | |
| parent | da245931e384a52716fc700994e302807a7593e8 (diff) | |
Notes
Diffstat (limited to 'lib/libpthread/thread/thr_sigsuspend.c')
| -rw-r--r-- | lib/libpthread/thread/thr_sigsuspend.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libpthread/thread/thr_sigsuspend.c b/lib/libpthread/thread/thr_sigsuspend.c index e3402a468a6e..4d3aa4ec2580 100644 --- a/lib/libpthread/thread/thr_sigsuspend.c +++ b/lib/libpthread/thread/thr_sigsuspend.c @@ -47,8 +47,7 @@ _sigsuspend(const sigset_t *set) sigset_t oldmask, newmask; int ret = -1; - if (!_kse_isthreaded() || - (curthread->attr.flags & PTHREAD_SCOPE_SYSTEM)) + if (curthread->attr.flags & PTHREAD_SCOPE_SYSTEM) return (__sys_sigsuspend(set)); /* Check if a new signal set was provided by the caller: */ |
