thrd_current(3) Library Functions Manual thrd_current(3) NAME thrd_current – obtain current thread ID SYNOPSIS library “threads” #include thrd_t thrd_current(); DESCRIPTION The function thrd_current() will return the ID of the current thread. RETURN VALUES The function thrd_current() will return the current thread ID. SEE ALSO thrd_create(3) thrd_exit(3) thrd_yield(3) thrd_detach(3) thrd_join(3) thrd_equal(3) thrd_sleep(3) HISTORY The thrd_current() function first appeared in the C11 standard ISO/IEC 9899:2011. AUTHORS Jan Adelsbach Debian May 9, 2020 Debian