summaryrefslogtreecommitdiffstats
path: root/sys/sys/signal.h
diff options
context:
space:
mode:
authorswallace <swallace@FreeBSD.org>1995-10-19 19:16:01 +0000
committerswallace <swallace@FreeBSD.org>1995-10-19 19:16:01 +0000
commitf62e0784cbb72e1ab182e5a684c0299c11695bfd (patch)
tree4f24e22d3cfaad3c5382e763985f3406749c6059 /sys/sys/signal.h
parentf68a41fc5240e15f252ae958a72ae721dc2a23b1 (diff)
downloadFreeBSD-src-f62e0784cbb72e1ab182e5a684c0299c11695bfd.zip
FreeBSD-src-f62e0784cbb72e1ab182e5a684c0299c11695bfd.tar.gz
Implement SA_NODEFER sa_flag for sigaction():
Add SA_NODEFER define to signal.h Add ps_nodefer field to struct sigacts in signalvar.h. Add code to kern_sig.c to handle SA_NODEFER. If flag is set, when the signal is delivered, it is not masked automatically from receiving the same signal again. Reviewed by: wollman, bde
Diffstat (limited to 'sys/sys/signal.h')
-rw-r--r--sys/sys/signal.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/sys/signal.h b/sys/sys/signal.h
index 515a00d..1c8f781 100644
--- a/sys/sys/signal.h
+++ b/sys/sys/signal.h
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)signal.h 8.2 (Berkeley) 1/21/94
- * $Id: signal.h,v 1.3 1995/01/29 01:19:25 ats Exp $
+ * $Id: signal.h,v 1.4 1995/06/28 02:14:04 bde Exp $
*/
#ifndef _SYS_SIGNAL_H_
@@ -136,6 +136,7 @@ struct sigaction {
#endif
#endif
#define SA_NOCLDSTOP 0x0008 /* do not generate SIGCHLD on child stop */
+#define SA_NODEFER 0x0010 /* don't mask the signal we're delivering */
/*
* Flags for sigprocmask:
OpenPOWER on IntegriCloud