[Midnightbsd-cvs] src [8094] trunk/share/man/man3/siginfo.3: describe SI_LWP as being generated by pthread_kill.

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Thu Sep 15 18:51:34 EDT 2016


Revision: 8094
          http://svnweb.midnightbsd.org/src/?rev=8094
Author:   laffer1
Date:     2016-09-15 18:51:34 -0400 (Thu, 15 Sep 2016)
Log Message:
-----------
describe SI_LWP as being generated by pthread_kill.

Modified Paths:
--------------
    trunk/share/man/man3/siginfo.3

Modified: trunk/share/man/man3/siginfo.3
===================================================================
--- trunk/share/man/man3/siginfo.3	2016-09-15 22:50:59 UTC (rev 8093)
+++ trunk/share/man/man3/siginfo.3	2016-09-15 22:51:34 UTC (rev 8094)
@@ -197,6 +197,9 @@
 signal generated by arrival of a message on an empty message queue
 .It Ta Dv SI_KERNEL Ta
 signal generated by miscellaneous parts of the kernel
+.It Ta Dv SI_LWP Ta
+signal sent by
+.Xr pthread_kill 3
 .El
 .Pp
 In addition, the following signal-specific information is available:
@@ -273,6 +276,10 @@
 system call
 .It Ta Va si_mqd Ta
 the ID of the message queue which generated the signal
+.It Dv SI_LWP Ta Va si_pid Ta
+the process ID that sent the signal
+.It Ta Va si_uid Ta
+real user ID of the process that sent the signal
 .El
 .Sh NOTES
 Currently, the kernel never generates the
@@ -284,9 +291,10 @@
 Realtime Extensions like aio, timer, and message queue also queue
 signals.
 Signals with code
-.Dv SI_USER
+.Dv SI_USER ,
+.Dv SI_KERNEL
 or
-.Dv SI_KERNEL
+.Dv SI_LWP
 are only queued if there are sufficient resources;
 otherwise,
 .Dv SI_NOINFO
@@ -321,6 +329,10 @@
 .Dv SI_KERNEL
 can be generated as of
 .Fx 8.1 .
+The code
+.Dv SI_LWP
+can be generated as of
+.Fx 9.0 .
 .Sh AUTHORS
 This manual page was written by
 .An "David Xu" Aq davidxu at FreeBSD.org .



More information about the Midnightbsd-cvs mailing list