projects
/
external
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc2f1c4
)
Only notify the proc server for SIGCHLD when the SA_NOCLDSTOP bit actually changes.
author
Roland McGrath
<roland@gnu.org>
Fri, 26 May 1995 16:59:33 +0000
(16:59 +0000)
committer
Roland McGrath
<roland@gnu.org>
Fri, 26 May 1995 16:59:33 +0000
(16:59 +0000)
sysdeps/mach/hurd/sigaction.c
patch
|
blob
|
history
diff --git
a/sysdeps/mach/hurd/sigaction.c
b/sysdeps/mach/hurd/sigaction.c
index
91de02c
..
957068b
100644
(file)
--- a/
sysdeps/mach/hurd/sigaction.c
+++ b/
sysdeps/mach/hurd/sigaction.c
@@
-52,7
+52,8
@@
DEFUN(__sigaction, (sig, act, oact),
if (act != NULL)
ss->actions[sig] = a;
- if (act != NULL && sig == SIGCHLD)
+ if (act != NULL && sig == SIGCHLD &&
+ (a.sa_flags & SA_NOCLDSTOP) != (old.sa_flags & SA_NOCLDSTOP))
{
ss->critical_section = 1;
__spin_unlock (&ss->lock);