摘要: pthread_key_create(&key, void (destructor)(void*)); 此函数是为了初始化一个线程私有数据的key,这个key是对所有线程都是共享可用的。 pthread_setspecific 设置线程私有数据 pthread_getspecific 从给定的key 阅读全文
posted @ 2025-04-11 13:53 bug批发零售 阅读(16) 评论(0) 推荐(0)