I am having a problem in the synchronisation of threads. I m trying to implement sleeping barber problem in a different approach. When i run the code the thread
parallel-tests
user-mode-linux
httpruntime
temporary-directory
react-native-stripe-api
asyncstream
using-statement
jetbrains-space-automation
platformio
elementtree
android-scroll
xmlpullparser
libfreenect2
spark-streaming
android-toast
pys60
reality-composer
prolog-toplevel
gremlin-server
loadrunner
qvboxlayout
entitygraph
knox-amazon-s3-client
opencv-python
scriptable
tribe-event-tickets
automated-deploy
tdl
kendo-asp.net-mvc
pyathena