If the calling coroutine has not acquired the lock when this method is
called, an $(D_PSYMBOL Exception) is thrown.
This method releases the underlying lock, and then blocks until it is
awakened by a $(D_PSYMBOL notify()) or $(D_PSYMBOL notifyAll()) call for
the same condition variable in another coroutine. Once awakened, it
re-acquires the lock and returns $(D_KEYWORD true).
Wait until notified.
If the calling coroutine has not acquired the lock when this method is called, an $(D_PSYMBOL Exception) is thrown.
This method releases the underlying lock, and then blocks until it is awakened by a $(D_PSYMBOL notify()) or $(D_PSYMBOL notifyAll()) call for the same condition variable in another coroutine. Once awakened, it re-acquires the lock and returns $(D_KEYWORD true).