Concurrency support library| Threads | | | | Atomic operations | | | | | | | | | | | | | |
| | Atomic flags | | | | | | Memory ordering | | | | Mutual exclusion | | | | Condition variables | | | | Thread-local storage | | |
|
Returns the identifier of the calling thread.
[edit]Parameters
(none)
[edit]Return value
The identifier of the calling thread.
[edit]References
- C17 standard (ISO/IEC 9899:2018):
- 7.26.5.2 The thrd_current function (p: 279)
- C11 standard (ISO/IEC 9899:2011):
- 7.26.5.2 The thrd_current function (p: 383)
[edit]See also