Does calling pthread_cond_wait in a thread will unlock the mutex

前端 未结 0 1132
你的背包
你的背包 2020-12-12 16:38

Man pages say this pthread_cond_wait atomically unlocks the mutex (as per pthread_unlock_mutex) and waits for the condition variable cond to be signaled.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题