diff options
author | jb <jb@FreeBSD.org> | 1998-06-06 07:02:27 +0000 |
---|---|---|
committer | jb <jb@FreeBSD.org> | 1998-06-06 07:02:27 +0000 |
commit | 14d31aca92286045152269aef0710d53ca67c5ad (patch) | |
tree | 1e244359ff6a414155177becb0a42730201cc38e /lib/libpthread/thread/thr_sig.c | |
parent | 0d7d76d9824e92ac3e2d5c95c38338e47b940aad (diff) | |
download | FreeBSD-src-14d31aca92286045152269aef0710d53ca67c5ad.zip FreeBSD-src-14d31aca92286045152269aef0710d53ca67c5ad.tar.gz |
I got the last commit back to front.
Diffstat (limited to 'lib/libpthread/thread/thr_sig.c')
-rw-r--r-- | lib/libpthread/thread/thr_sig.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libpthread/thread/thr_sig.c b/lib/libpthread/thread/thr_sig.c index 58d8e9d..c0fbfd1 100644 --- a/lib/libpthread/thread/thr_sig.c +++ b/lib/libpthread/thread/thr_sig.c @@ -243,8 +243,10 @@ _thread_signal(pthread_t pthread, int sig) sigaddset(&pthread->sigpend,sig); /* Check if system calls are not restarted: */ - if ((_thread_sigact[sig - 1].sa_flags & SA_RESTART) == 0) { + if ((_thread_sigact[sig - 1].sa_flags & SA_RESTART) != 0) { /* + * System calls are flagged for restart. + * * Process according to thread state: */ switch (pthread->state) { @@ -293,8 +295,6 @@ _thread_signal(pthread_t pthread, int sig) } } else { /* - * System calls are flagged for restart. - * * Process according to thread state: */ switch (pthread->state) { |