36.2.8 POSIX Threads Other APIs

Function: int pthread_equal (pthread_t thread1, pthread_t thread2)

Compares two thread IDs. If they are the same, returns nonzero, else returns zero. This documentation is a stub. For additional information on this function, consult the manual page pthread_equal(3) See Linux (The Linux Kernel).

Function: int pthread_getcpuclockid (pthread_t th, __clockid_t *clock_id)

Get the clock associated with th. This documentation is a stub. For additional information on this function, consult the manual page pthread_getcpuclockid(3) See Linux (The Linux Kernel).

Function: int pthread_once (pthread_once_t *once_control, void (*init_routine) (void))

Calls init_routine once for each once_control, which must be statically initalized to PTHREAD_ONCE_INIT. Subsequent calls to pthread_once with the same once_control do not call init_routine, even in multi-threaded environments. This documentation is a stub. For additional information on this function, consult the manual page pthread_once(3) See Linux (The Linux Kernel).

Function: int pthread_sigmask (int how, const __sigset_t *newmask, __sigset_t *oldmask)

This documentation is a stub. For additional information on this function, consult the manual page pthread_sigmask(3) See Linux (The Linux Kernel).