マルチスレッドのプログラミング

thr_self(3T)

thr_self(3T) は、呼び出しスレッドの識別子を取得します。

#include <thread.h>

thread_t thr_self(void);