2019年12月13日

c多线程不加锁demo

摘要: // // Created by gxf on 2019/12/13. // #include <stdio.h> #include <stdlib.h> #include <pthread.h> int shareInt = 0; void increase_num(void); int main() { int ret; pthread_t thread1, thread2, thread3; 阅读全文

posted @ 2019-12-13 00:38 luckygxf 阅读(268) 评论(0) 推荐(0) 编辑

导航