Defined in header <threads.h> | ||
---|---|---|
thrd_t thrd_current(void); | (since C11) |
Returns the identifier of the calling thread.
(none).
The identifier of the calling thread.
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/c/thread/thrd_current