diff options
author | davidxu <davidxu@FreeBSD.org> | 2010-08-24 07:22:24 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2010-08-24 07:22:24 +0000 |
commit | 6616b254f2075a009cda27d1126639df51d92860 (patch) | |
tree | 8fc996224144de0a3eef647ba48bffd0526917cd /sys/sys/signal.h | |
parent | 177089b4f1088d7e3816a8eafe63fad1c6d14be9 (diff) | |
download | FreeBSD-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.h | 1 |
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 |