because you need `counter++` and `if(!continueWork...
# announcements
g
because you need
counter++
and
if(!continueWorking)
to be under the mutex together