mirror of https://github.com/mkerrisk/man-pages
Note what thread is affected if 'pid' is specified
as 0, or as the value returned by getpid().
This commit is contained in:
parent
20c58d7028
commit
da49ae1814
|
@ -185,6 +185,12 @@ The value returned from a call to
|
|||
.BR gettid (2)
|
||||
can be passed in the argument
|
||||
.IR pid .
|
||||
Specifying
|
||||
.I pid
|
||||
as 0 will set the attribute for the current thread,
|
||||
and passing the value returned from a call to
|
||||
.BR getpid (2)
|
||||
will set the attribute for the main thread of the thread group.
|
||||
|
||||
A child created via
|
||||
.BR fork (2)
|
||||
|
|
Loading…
Reference in New Issue