thrd_current
<
c
|
thread
在标头
<threads.h>
定义
thrd_t
thrd_current
(
void
)
;
(C11 起)
返回调用方线程的标识符。
参数
(无)
返回值
调用方线程的标识符。
引用
C17 标准(ISO/IEC 9899:2018):
7.26.5.2 The thrd_current function (第 279 页)
C11 标准(ISO/IEC 9899:2011):
7.26.5.2 The thrd_current function (第 383 页)
参阅