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
servlet-3.0
compiler-theory
foundry-phonograph
k3sup
portable-python
rowcount
jingle
negative-lookahead
variable-length
embedded-javascript
thunderbird-lightning
textbox
ng2-dragula
yowsup
dilation
casing
stepwise-regression
heatmap
urlmappings.groovy
2d-games
uisplitviewdelegate
airplane-mode
motordriver
android-videoview
disk-access
design-decisions
barcode-scanner
adonis.js
outgoing-mail
react-gql