Where to put Conditions when threads use a shared class

后端 未结 0 1155
误落风尘
误落风尘 2020-12-23 03:12

I am replicating a classroom using Threads there are a few conditions that need to be set up

  1. Student can not enter or leave when a Lecturer
相关标签:
回答
  • 消灭零回复
提交回复
热议问题