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

thr_getspecific(3T)

thr_getspecific() は、key で指定したキーに結び付けられている現在の値を、valuep が指している位置に格納します。

#include <thread.h>

int thr_getspecific(thread_key_t key, void **valuep);