Documentation Home
>
マルチスレッドのプログラミング
>
第 2 章 スレッドを使った基本プログラミング
>
Pthreads ライブラリ
>
スレッド識別子の取得
> pthread_self の構文
マルチスレッドのプログラミング
Previous
: スレッド固有データの大域性と局所性の例
Next
: pthread_self の戻り値
pthread_self
の構文
pthread_t pthread_self(void);
#include <pthread.h> pthread_t
tid
;
tid
= pthread_self();
Previous
: スレッド固有データの大域性と局所性の例
Next
: pthread_self の戻り値
© 2010, Oracle Corporation and/or its affiliates