Blocks the calling thread, if necessary, until this Mutex is either free or in shared mode, and then acquires a share of it.

Synopsis

Declared in <absl/synchronization/mutex.h>

void
lock_shared();

Created with MrDocs