linyawen

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2012年4月23日

摘要: 1. 首先pthread_cond_wait 的定义是这样的The pthread_cond_wait()andpthread_cond_timedwait()functions are used to block on a condition variable. They are called withmutexlocked by the calling thread or undefined behaviour will result.These functions atomically releasemutexand cause the calling thread to block o 阅读全文
posted @ 2012-04-23 11:15 linyawen 阅读(510) 评论(0) 推荐(0) 编辑