How a thread which is blocked while trying to mutex_lock get to know that the lock is released by another thread?

前端 未结 0 1463
庸人自扰
庸人自扰 2020-12-30 12:01

In Linux, I have a scenario where two threads execute a critical section, one acquires the lock (thread A) and the other(thread B) will wait for the lock. Later threadA rele

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