? This document uses PHP Chinese website manual Release
在頭文件<threads.h>中定義
thrd_t thrd_current(void);
(自C11以來(lái))
返回調(diào)用線程的標(biāo)識(shí)符。
(無(wú)).
調(diào)用線程的標(biāo)識(shí)符。
C11標(biāo)準(zhǔn)(ISO / IEC 9899:2011):
7.26.5.2 thrd_current函數(shù)(p:383)
| 用于get_id的C ++文檔 |