thrd_current(3)		   Library Functions Manual	       thrd_current(3)

NAME
     thrd_current – obtain current thread ID

SYNOPSIS
     library “threads”
     #include <threads.h>

     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 <jan@jadelsbach.de>


Linux 6.13.6-1-default		  May 9, 2020		Linux 6.13.6-1-default