会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
代码改变世界
Cnblogs
Dashboard
Login
Home
Contact
Gallery
Subscribe
RSS
沫完待续
随笔档案-2016年11月
有关POSIX线程的函数
2016-11-14 18:55 by 沫完待续, 345 阅读,
收藏
,
摘要: (1)创建线程函数: pthread_create(); (2)阻塞等待线程结束并回收资源函数: pthread_join(); (3)线程退出函数:pthread_exit(); (4)线程互斥锁: 初始化 pthread_mutex_init(); 上锁 pthread_mutex_lock()
阅读全文
0 Comment
About