Delivers a signal to a specified thread.
This routine is for Digital UNIX systems only.
pthread_kill( thread, sig );
Argument Data Type Accessthread opaque pthread_t read sig integer read
#includeint pthread_kill ( pthread_t thread, int sig);
The various signals are as follows:
SIGHUP SIGPIPE SIGTTIN SIGINT SIGALRM SIGTTOU SIGQUIT SIGTERM SIGIO SIGTRAP SIGUSR1 SIGXCPU SIGABRT SIGSYS SIGXFSZ SIGEMT SIGURG SIGVTALRM SIGFPE SIGSTOP SIGPROF SIGKILL SIGTSTP SIGINFO SIGBUS SIGCONT SIGUSR1 SIGSEGV SIGCHLD SIGUSR2
If this routine does not execute successfully, no signal is sent.
Return Description0 Successful completion. [EINVAL] The value of sig is invalid or an unsupported signal value. [ESRCH] The value of thread does not specify an existing thread.