摘要: C/C++多线程与互斥锁 //获取线程ID: //方法1、 void* thread(void *id){ printf("this is a new thread, thread ID is %u\n", pthread_self()); return NULL; } //方法2、 #includ 阅读全文
posted @ 2022-07-03 14:58 h云淡风轻 阅读(27) 评论(0) 推荐(0)