How do I design a test for reader writer locks?

后端 未结 0 1761
逝去的感伤
逝去的感伤 2021-01-17 18:58

I have a rw lock where many readers can hold the lock or one writer can hold the lock. How do I design a test that provides mutual exclusion properly and no starvation? Than

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