actors :: SynchronizedCounter :: wait
c == 0
# Block until `c == 0` fun wait do mutex.lock while c != 0 do cond.wait(mutex) mutex.unlock end