summaryrefslogtreecommitdiffstats
path: root/sys/sys/signal.h
diff options
context:
space:
mode:
authordavidxu <davidxu@FreeBSD.org>2010-08-24 07:22:24 +0000
committerdavidxu <davidxu@FreeBSD.org>2010-08-24 07:22:24 +0000
commit6616b254f2075a009cda27d1126639df51d92860 (patch)
tree8fc996224144de0a3eef647ba48bffd0526917cd /sys/sys/signal.h
parent177089b4f1088d7e3816a8eafe63fad1c6d14be9 (diff)
downloadFreeBSD-src-6616b254f2075a009cda27d1126639df51d92860.zip
FreeBSD-src-6616b254f2075a009cda27d1126639df51d92860.tar.gz
- According to specification, SI_USER code should only be generated by
standard kill(). On other systems, SI_LWP is generated by lwp_kill(). This will allow conforming applications to differentiate between signals generated by standard events and those generated by other implementation events in a manner compatible with existing practice. - Bump __FreeBSD_version
Diffstat (limited to 'sys/sys/signal.h')
-rw-r--r--sys/sys/signal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/signal.h b/sys/sys/signal.h
index a7ca96e..a862057 100644
--- a/sys/sys/signal.h
+++ b/sys/sys/signal.h
@@ -338,6 +338,7 @@ struct sigaction {
#define SI_MESGQ 0x10005 /* Signal generated by arrival of a */
/* message on an empty message queue. */
#define SI_KERNEL 0x10006
+#define SI_LWP 0x10007 /* Signal sent by thr_kill */
#endif
#if __BSD_VISIBLE
#define SI_UNDEFINED 0
OpenPOWER on IntegriCloud