Atomically releases mu and blocks until signaled, then reacquires it.

Synopsis

Declared in <absl/synchronization/mutex.h>

void
Wait(Mutex* mu);

Parameters

Name

Description

mu

The mutex held by the calling thread.

Created with MrDocs