mojave man page for thr_self

Query: thr_self

OS: mojave

Section: 3c

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

thr_self(3C)                                               Standard C Library Functions                                               thr_self(3C)

NAME
thr_self - get calling thread's ID
SYNOPSIS
cc -mt [ flag... ] file...[ library... ] #include <thread.h> thread_t thr_self(void)); typedef(unsigned int thread_t);
DESCRIPTION
thr_self() returns the thread ID of the calling thread.
ERRORS
No errors are defined.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+
SEE ALSO
thr_create(3C), attributes(5), standards(5) SunOS 5.10 9 May 1998 thr_self(3C)
Related Man Pages
td_ta_map_id2thr(3cdb) - opensolaris
thr_kill(3c) - sunos
td_ta_map_lwp2thr(3cdb) - sunos
thr_kill(3c) - bsd
thr_kill(3c) - opendarwin
Similar Topics in the Unix Linux Community
Round Robin Scheduling
How to start multiple threads in Solaris?