Semaphore and mutex loop

后端 未结 0 1053
伪装坚强ぢ
伪装坚强ぢ 2020-12-28 10:07

I have two functions that I use semaphore and mutex for a variant of classic the sleeping barber problem. But when I run the program, the program never ends.

Function

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