pthread

pthread_key_create

创建线程特定数据键 让每个键拥有自己独立的数据副本
parame : pthread_key_t
函数指针 指向线程销毁时需要销毁资源的清理函数