Documentation Home
>
マルチスレッドのプログラミング
>
第 9 章 Solaris スレッドを使ったプログラミング
>
pthread に相当するものがある Solaris スレッドの関数
>
スレッド識別子の取得
> thr_self(3T)
マルチスレッドのプログラミング
Previous
: 最小のスタックの大きさの取得
Next
: スレッドの実行明け渡し
thr_self(3T)
thr_self(3T)
は、呼び出しスレッドの識別子を取得します。
#include <thread.h> thread_t thr_self(void);
Previous
: 最小のスタックの大きさの取得
Next
: スレッドの実行明け渡し
© 2010, Oracle Corporation and/or its affiliates