a thread in the same process as the caller.
The signal is asynchronously directed to
.IR thread .
-
+.PP
If
.I sig
is 0, then no signal is sent, but error checking is still performed.
.IR thread ,
but if the disposition of the signal is "stop", "continue", or "terminate",
this action will affect the whole process.
-
+.PP
The glibc implementation of
.BR pthread_kill ()
gives an error
See
.BR nptl (7)
for details.
-
+.PP
POSIX.1-2008 recommends that if an implementation detects the use
of a thread ID after the end of its lifetime,
.BR pthread_kill ()