Manual Pages for UNIX Darwin command on man pthread_kill
MyWebUniversity

Manual Pages for UNIX Darwin command on man pthread_kill

PTHREADKILL(2) BSD System Calls Manual PTHREADKILL(2)

NAME

pptthhrreeaaddkkiillll - send a signal to a specified thread

SYNOPSIS

##iinncclluuddee <>

int pptthhrreeaaddkkiillll(pthreadt thread, int sig);

DESCRIPTION

The pptthhrreeaaddkkiillll() function sends a signal, specified by sig, to a thread, specified by thread. If sig is 0, error checking is performed, but no signal is actually sent.

RETURN VALUES

If successful, pptthhrreeaaddkkiillll() returns 0. Otherwise, an error number is returned. EERRRROORRSS pptthhrreeaaddkkiillll() will fail if: [EINVAL] sig is an invalid or unsupported signal number. [ESRCH] thread is an invalid thread ID.

LEGACY SYNOPSIS

##iinncclluuddee <>

##iinncclluuddee <>

The include file is necessary.

SEE ALSO

kill(2), pthreadself(3), raise(3), compat(5) STANDARDS

pptthhrreeaaddkkiillll() conforms to ISO/IEC 9945-1:1996 (``POSIX.1'')

BSD Feb 05, 2002 BSD




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™