会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Just run
博客园
首页
新随笔
联系
订阅
管理
2011年8月19日
上锁函数 pthread_mutex_lock
摘要: 锁定互斥锁 使用 pthread_mutex_lock(3C) 可以锁定 mutex 所指向的互斥锁。 pthread_mutex_lock 语法 int pthread_mutex_lock(pthread_mutex_t *mutex); #include <pthread.h>pthread_mutex_t mutex;int ret;ret = pthread_ mutex_lock(&m...
阅读全文
posted @ 2011-08-19 11:52 balenofly
阅读(19538)
评论(0)
推荐(0)
编辑
公告