会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
_小百
博客园
首页
新随笔
联系
管理
订阅
2017年8月19日
Linux多线程编程 - sleep 和 pthread_cond_timedwait
摘要: #include <stdio.h> #include <stdlib.h> int flag = 1; void * thr_fn(void * arg) { while (flag) { printf("******\n"); sleep(10); } printf("sleep test th
阅读全文
posted @ 2017-08-19 11:06 _小百
阅读(895)
评论(0)
推荐(0)
公告