jvidal@disca.upv.es
J.
Vidal
2003-12-12
pthread_getcpuclockid
3
pthread_getcpuclockid
per RTLinux thread's CPU-time timers.
#include <signal.h>
int pthread_getcpuclockid
pthread_t threadid
clockid_t * clockid
DESCRIPTION
This is the RTLinux version for the POSIX function
pthread_getcpuclockid() used for requesting the
CPU-time clock of the thread identified by threadid.
For further details see its specification at, UNIX spec
RETURN VALUE
If pthread_getcpuclockid() function succeed, a value of 0 shall be
returned.
If an error occurs, an error number is returned.
ERRORS
The pthread_getcpuclockid() function may fail if:
[ESRCH]: The value specified by threadid does not refer to an existing thread.
AUTHOR
Josep Vidal < jvidal@disca.upv.es>
SEE ALSO
clock_getres(3rtl)
timer_create(3rtl)