---
name: "std::adopt_lock_t"
section: "3cxx"
platform: "linux"
package: "libstdc++-12-doc"
version: "12.4.0-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/std::adopt_lock_t"
---

# std::adopt\_lock\_t(3cxx)

Assume the calling thread has already obtained mutex ownership and manage it.

## NAME

std::adopt\_lock\_t - Assume the calling thread has already obtained mutex ownership and manage it.

## SYNOPSIS

`#include <mutex>`

## Detailed Description

Assume the calling thread has already obtained mutex ownership and manage it.

## Author

Generated automatically by Doxygen for libstdc++ from the source code.
