signal.7: Various fields in /proc/PID/status show signal-related information

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2019-07-10 15:19:31 +02:00
parent 9b8887eb94
commit aa16684c95
1 changed files with 23 additions and 0 deletions

View File

@ -779,6 +779,29 @@ POSIX.1, except as noted.
.SH NOTES
For a discussion of async-signal-safe functions, see
.BR signal-safety (7).
.PP
The
.I /proc/[pid]/task/[tid]/status
file contains various fields that show the signals
that a thread is blocking
.RI ( SigBlk ),
catching
.RI ( SigCgt ),
or ignoring
.RI ( SigIgn ).
(The set of signals that are caught or ignored will be the same
across all threads in a process.)
Other fields show the set of pending signals that are directed to the thread
.RI ( SigPnd )
as well as the set of pending signals that are directed
to the process as a whole
.RI ( ShdPnd ).
The corresponding fields in
.I /proc/[pid]/status
show the information for the main thread.
See
.BR proc (5)
for further details.
.SH SEE ALSO
.BR kill (1),
.BR clone (2),