Semaphore.wait

Wait until the current count is above zero, then atomically decrement the count by one and return.

  1. void wait()
    class Semaphore
    void
    wait
    ()
  2. bool wait(double period)

Throws

SyncException on error.

Meta