pthread_kill(3P)

pthread_kill - deliver a signal to a thread

Showing IRIX 6.5.30 (default release). Unchanged since IRIX 6.5.

NAME
     pthread_kill - deliver a signal to a thread

C SYNOPSIS
     #include <signal.h>

     int pthread_kill(pthread_t thread, int sig);

DESCRIPTION
     The pthread_kill() function is used to request that a signal be sent to
     the specified thread.

     If sig is zero, error checking is performed, but no signal is actually
     sent.

DIAGNOSTICS
     On success, pthread_kill() returns zero; otherwise, an error number is
     returned:

     [ESRCH]        The thread parameter does not identify a thread.

     [EINVAL]       The value specified by sig is either an invalid or
                    unsupported signal number.

SEE ALSO
     sigaction(2), pthread_sigmask(3P), signal(5).