摘要: 一、pthread_create的子线程不要通过子线程启动函数的参数或者共享内存来获得线程id 创建线程的函数pthread_create不保证线程执行的时机,得根据不同系统的具体实现来确定 #include <pthread.h> int pthread_create( pthread_t *re 阅读全文
posted @ 2021-10-21 12:32 放不下的小女孩 阅读(43) 评论(0) 推荐(0) 编辑