How a writer-reader (strong writer) version works and why 4 semaphores are required

后端 未结 0 1802
我在风中等你
我在风中等你 2020-12-16 05:18

Can anyone explain how this code works? I am told

Arriving writers go next. Readers will have to wait for no active or waiting writers to enter the crit.

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