2012年4月21日
摘要: The mutex passed to pthread_cond_wait protects the condition.The callerpasses it locked to the function, which then atomically places themcalling thread on the list of threads waiting for the condition andunlocks the mutex. This closes the window between the time that thecondition is checked and the 阅读全文
posted @ 2012-04-21 11:00 眼里的圈圈 阅读(429) 评论(0) 推荐(0) 编辑