summaryrefslogtreecommitdiffstats
path: root/lib/libpthread
diff options
context:
space:
mode:
authorjb <jb@FreeBSD.org>1998-08-26 20:55:31 +0000
committerjb <jb@FreeBSD.org>1998-08-26 20:55:31 +0000
commit343f23c6e906a06f3a710b747835ac571e30bdf2 (patch)
treedce540a1ff8e8ba890d4d00d47b51a4bc543bf16 /lib/libpthread
parent45be607d945adc5acb55189112419308142cc122 (diff)
downloadFreeBSD-src-343f23c6e906a06f3a710b747835ac571e30bdf2.zip
FreeBSD-src-343f23c6e906a06f3a710b747835ac571e30bdf2.tar.gz
Don't automatically restart syscalls for the signals that the thread
kernel needs.
Diffstat (limited to 'lib/libpthread')
-rw-r--r--lib/libpthread/thread/thr_sigaction.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libpthread/thread/thr_sigaction.c b/lib/libpthread/thread/thr_sigaction.c
index 3538f27..40f3850 100644
--- a/lib/libpthread/thread/thr_sigaction.c
+++ b/lib/libpthread/thread/thr_sigaction.c
@@ -75,7 +75,7 @@ sigaction(int sig, const struct sigaction * act, struct sigaction * oact)
sig != SIGINFO) {
/* Initialise the global signal action structure: */
gact.sa_mask = act->sa_mask;
- gact.sa_flags = act->sa_flags | SA_RESTART;
+ gact.sa_flags = 0;
/*
* Check if the signal handler is being set to
OpenPOWER on IntegriCloud