摘要: 读者写者问题 参考链接 http://c.biancheng.net/cpp/html/2601.html 读者优先 缺点无法解决两者之间的并发问题 运行结果 [ligang@localhost ~]$ gcc read.c -lpthread[ligang@localhost ~]$ ./a.ou 阅读全文
posted @ 2018-11-30 17:17 李刚blog 阅读(310) 评论(0) 推荐(0) 编辑