THRD_CURRENT(3C) Standard C Library Functions THRD_CURRENT(3C)
- obtain current thread's ID
SYNOPSIS #include <threads.h> thrd_t thrd_current
() function returns the thread ID of the current calling
thread. Note, this ID may be different from the thread ID returned when
; however, it still uniquely
identifies the thread.
No errors are defined.
INTERFACE STABILITY StandardMT-Level MT-Safe
SEE ALSO pthread_self(3C)
OmniOS January 11, 2015 OmniOS