A counter that is increased with every emit() call
Emits the signal, waking up all owners of the signal.
Acquires ownership and waits until the signal is emitted.
Acquires ownership and waits until the emit count differs from the given one.
Acquires ownership and waits until the emit count differs from the given one or until a timeout is reached.
Same as wait, but defers throwing any InterruptException.