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_sigpending.c | |
| parent | da245931e384a52716fc700994e302807a7593e8 (diff) | |
Notes
Diffstat (limited to 'lib/libpthread/thread/thr_sigpending.c')
| -rw-r--r-- | lib/libpthread/thread/thr_sigpending.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libpthread/thread/thr_sigpending.c b/lib/libpthread/thread/thr_sigpending.c index ad5354beca33..7a0a76dcb8c3 100644 --- a/lib/libpthread/thread/thr_sigpending.c +++ b/lib/libpthread/thread/thr_sigpending.c @@ -55,8 +55,7 @@ _sigpending(sigset_t *set) ret = EINVAL; } else { - if (!_kse_isthreaded() || - (curthread->attr.flags & PTHREAD_SCOPE_SYSTEM)) + if (curthread->attr.flags & PTHREAD_SCOPE_SYSTEM) return (__sys_sigpending(set)); crit = _kse_critical_enter(); |
