Where to put Conditions when threads use a shared class

后端 未结 0 1490
一个人的身影
一个人的身影 2020-12-23 02:47

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
相关标签:
回答
  • 消灭零回复
提交回复
热议问题