[#absl-Mutex-2constructor-027] = xref:absl.adoc[absl]::xref:absl/Mutex.adoc[Mutex]::Mutex :relfileprefix: ../../ :mrdocs: Creates a `Mutex` that is not held by anyone. == Synopsis Declared in `<absl/synchronization/mutex.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- 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. [.small]#Created with https://www.mrdocs.com[MrDocs]#