std_mutex.h(3cxx)
hey bestie π welcome to the manual page for std_mutex.h, manual section 3cxx. it's giving internal C++ mutex header energy, and we're gonna go through it together, no cap. β¨
πΈ NAME πΈ
std_mutex.h β that's the name, that's the vibe. π
π SYNOPSIS π
okay so here's the whole cast, periodt.
π¦ Classes π¦
struct std::adopt_lock_tβ assume the calling thread has already obtained mutex ownership and manage it. πstruct std::defer_lock_tβ do not acquire ownership of the mutex. πclass std::lock_guard< _Mutex >β a simple scoped lock type. π«Άclass std::mutexβ literally the mutex class, main character energy. πstruct std::try_to_lock_tβ try to acquire ownership of the mutex without blocking. π₯
π Namespaces π
namespace stdβ ISO C++ entities toplevel namespace isstd. β
π Variables π
constexpr adopt_lock_t std::adopt_lockβ tag used to make a scoped lock take ownership of a locked mutex. πconstexpr defer_lock_t std::defer_lockβ tag used to prevent a scoped lock from acquiring ownership of a mutex. β¨constexpr try_to_lock_t std::try_to_lockβ tag used to prevent a scoped lock from blocking if a mutex is locked. π
π DETAILED DESCRIPTION π
okay so real talk: this is an internal header file, included by other library headers. Do not attempt to use it directly. Instead, include <mutex>. π¨
bestie, do NOT try to use it directly. It's giving internal-only, iykyk. The way to do it is <mutex>, periodt. π
π AUTHOR π
Generated automatically by Doxygen for libstdc++ from the source code. πβ¨
that's the page, bestie. source/version: libstdc++, page: std_mutex.h(3cxx). no date in this footer, so we not inventing one. slay, bye. ππ¦
π¦ where this page comes from
- debian trixie: libstdc++-12-doc 12.4.0-5
- debian trixie: libstdc++-13-doc 13.3.0-16
- 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 questing: libstdc++-12-doc 12.5.0-6ubuntu1
- ubuntu questing: libstdc++-13-doc 13.4.0-4ubuntu1
- ubuntu resolute: libstdc++-12-doc 12.5.0-9ubuntu1
- ubuntu resolute: libstdc++-13-doc 13.4.0-10ubuntu1
- ubuntu resolute: libstdc++-14-doc 14.3.0-14ubuntu1
- ubuntu resolute: libstdc++-15-doc 15.2.0-16ubuntu1
- ubuntu resolute: libstdc++-16-doc 16-20260322-1ubuntu1
- ubuntu stonking: libstdc++-12-doc 12.5.0-9ubuntu1
- ubuntu stonking: libstdc++-13-doc 13.5.0-1ubuntu1
- ubuntu stonking: libstdc++-14-doc 14.4.0-2ubuntu1
- ubuntu stonking: libstdc++-15-doc 15.3.0-4ubuntu1
- ubuntu stonking: libstdc++-16-doc 16.2.0-3ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms