![]() |
![]()
| ![]() |
![]()
NAME
LIBRARYPOSIX Threads Library (libpthread, -lpthread) SYNOPSIS
int
int
DESCRIPTIONAn application is allowed to monitor the thread context switches
inside the threading library. An application can install a routine that gets
called every time a thread (explicitly created by an application with the
pthread_create(3)
function) gets the context switched. The routine is passed the thread IDs of
the threads that are being switched in and out. Installation and removal of
these hooks may be done using the
RETURN VALUESIf successful, these functions return 0. Otherwise, an error number is returned to indicate the error. ERRORSThe The
SEE ALSOAUTHORSThis manual page was written by Alexey Zelkin <phantom@FreeBSD.org>.
|