std::adopt_lock_t(3cxx)
hii bestie π welcome to the std::adopt_lock_t page β it lives in the 3cxx manual, and it's short but iconic.
πΈ NAME πΈ
std::adopt_lock_tβ assume the calling thread has already obtained mutex ownership and manage it.
π¦ SYNOPSIS π¦
to get this cutie into your code, you include:
#include <mutex>
π Detailed Description π
okay so the whole vibe is this: assume the calling thread has already obtained mutex ownership and manage it. that's the description, no cap. it's giving "ownership already handled, bestie" β but fr fr, the only claim here is the one above.
π AUTHOR π
Generated automatically by Doxygen for libstdc++ from the source code. β yep, no human author to tag, Doxygen made this one.
cute sign-off: this page comes from libstdc++ and sits in the 3cxx manual section. the original footer didn't hand over a date, so i'm not inventing one β mwah πβ¨
π¦ where this page comes from
- debian trixie: libstdc++-12-doc 12.4.0-5
- debian trixie: libstdc++-13-doc 13.3.0-16
- debian trixie: libstdc++-14-doc 14.2.0-19
- ubuntu noble: libstdc++-12-doc 12.3.0-17ubuntu1
- ubuntu noble: libstdc++-12-doc 12.4.0-2ubuntu1~24.04.1
- ubuntu noble: libstdc++-13-doc 13.2.0-23ubuntu4
- ubuntu noble: libstdc++-13-doc 13.3.0-6ubuntu2~24.04.1
- ubuntu noble: libstdc++-14-doc 14-20240412-0ubuntu1
- ubuntu noble: libstdc++-14-doc 14.2.0-4ubuntu2~24.04.1
- ubuntu questing: libstdc++-12-doc 12.5.0-6ubuntu1
- ubuntu questing: libstdc++-13-doc 13.4.0-4ubuntu1
- ubuntu questing: libstdc++-14-doc 14.3.0-8ubuntu1
- ubuntu questing: libstdc++-15-doc 15.2.0-4ubuntu4
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms