std::timed_...timed_mutex(3)

πŸ“¦ version 2024.07.05, in nixpkgs unstable, opensuse-leap 16.0

✨ NAME ✨

std::timed_mutex::~timed_mutex β€” std::timed_mutex::~timed_mutex

okay so bestie, this is the std::timed_...timed_mutex(3) page from the C++ Standard Libary manual, and it’s literally the destructor page for std::timed_mutex. πŸ’…βœ¨

πŸ¦‹ Synopsis πŸ¦‹

~timed_mutex();

Destroys the mutex. πŸ’–

⚠️ undefined behavior alert, bestie: The behavior is undefined if the mutex is owned by any thread or if any thread terminates while holding any ownership of the mutex. 😭 This is not a vibe. Do not do this. πŸ’€

πŸ‘‘ See also πŸ‘‘

  • C documentation for mtx_destroy

that’s the whole page, no cap β€” from http://cppreference.com, version 2024.06.10, manual page std::timed_...timed_mutex(3). πŸ«ΆπŸŽ€

πŸ“¦ where this page comes from