Creates a Mutex that is not held by anyone.

Synopsis

Declared in <absl/synchronization/mutex.h>

Mutex();

Description

This constructor is typically used for Mutexes allocated on the heap or the stack. To create Mutex instances with static storage duration (e.g. a namespace‐scoped or global variable), see Mutex::Mutex(absl::kConstInit) below instead.

Created with MrDocs