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(3c) - opensolaris
pthread_kill(3) - debian
pthread_kill(3t) - hpux
pthread_kill(3c) - sunos
pthread_kill(3) - x11r4
Similar Topics in the Unix Linux Community
[Problem] raise a signal in FreeBSD
Good Unix Online Study Material
process and thread
Implementing thread in UNIX
Problem in quitting/exiting from sqlplus