Documentation Home
>
多线程编程指南
>
第 8 章 Solaris 线程编程
>
相似的 Solaris 线程函数
>
设置线程特定的数据值
> thr_setspecific 语法
多线程编程指南
Previous
: 创建线程特定的数据键
Next
: thr_setspecific 返回值
thr_setspecific
语法
#include <thread.h> int thr_setspecific(thread_key_t
key
, void *
value
);
Previous
: 创建线程特定的数据键
Next
: thr_setspecific 返回值
© 2010, Oracle Corporation and/or its affiliates