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
totem
postgresql-9.1
raspberry-pi-zero
sitecollection
jquery-ui-draggable
bytechannel
google-chrome
launchmode
groovydoc
hdf
qstyleditemdelegate
ajc
milestone
css-grid
frequency-distribution
asp.net-core-identity
push
nfa
smooch
pyflakes
chameleon
sonata-admin
mapactivity
geos
vim-plugin
fourier-descriptors
compodoc
google-cloud-billing
scichart
jsfiddle