[#absl-Mutex-lock-025] = xref:absl.adoc[absl]::xref:absl/Mutex.adoc[Mutex]::lock :relfileprefix: ../../ :mrdocs: Blocks the calling thread, if necessary, until this `Mutex` is free, and then acquires it exclusively. == Synopsis Declared in `<absl/synchronization/mutex.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void lock(); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#