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

pthread_self の戻り値

pthread_self() は、呼び出しスレッドのスレッド識別子 (thread identifier) を返します。