std::shared...hared_mutex(3)
π NAME β¨
std::shared_mutex::~shared_mutex β bestie, this is the destructor page for std::shared_mutex, from the C++ Standard Libary manual π«Ά
πΈ Synopsis πΈ
~shared_mutex();
It destroys the mutex. Periodt. π
π¨ okay so this part is serious: The behavior is undefined if the mutex is owned by any thread or if any thread terminates while holding any ownership of the mutex. No cap, that's the exact caveat β do not play with it π
π¦ See also π¦
- C documentation for
mtx_destroyπ
mwah π β source/version: cppreference.com, dated 2024.06.10 β¨π
π¦ where this page comes from
- nixpkgs unstable: stdman 2024.07.05
- opensuse-leap 16.0: stdman 2024.07.05-bp160.1.9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms