hpux man page for pthread_kill

Query: pthread_kill

OS: hpux

Section: 3t

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

pthread_kill(3T)														  pthread_kill(3T)

NAME
pthread_kill() - send a signal to a thread
SYNOPSIS
PARAMETERS
thread Thread to which the signal is to be delivered. sig Signal to be delivered to thread.
DESCRIPTION
The function is used to request that a signal be delivered to thread. The signal is asynchronously directed to thread in the calling process. The signal is handled in the context of the given thread; if the signal action results in the thread terminating or stopping, this action is applied to the whole process. If sig is zero, error checking is performed but a signal is not sent.
RETURN VALUE
Upon successful completion, returns zero. Otherwise, an error number is returned to indicate the error (the variable is not set).
ERRORS
If any of the following occur, the function returns the corresponding error number: [EINVAL] sig is an invalid or unsupported signal number. [ESRCH] No thread could be found corresponding to thread.
AUTHOR
was derived from the IEEE POSIX P1003.1c standard.
SEE ALSO
kill(2), sigaction(2), pthread_self(3T), raise(2).
STANDARDS CONFORMANCE
Pthread Library pthread_kill(3T)
Related Man Pages
pthread_kill(3) - centos
pthread_kill(3c) - sunos
pthread_kill(3) - x11r4
pthread_kill(3) - bsd
pthread_kill(3) - opendarwin
Similar Topics in the Unix Linux Community
thread::signal
Alarm signal
How to cancel a thread safely from the initial thread?
process and thread
Problem in quitting/exiting from sqlplus