cpp / latest / thread / shared_timed_mutex / ~shared_timed_mutex.html /

std::shared_timed_mutex::~shared_timed_mutex

~shared_timed_mutex();

Destroys the mutex.

The behavior is undefined if the mutex is owned by any thread or if any thread terminates while holding any ownership of the mutex.

See also

C documentation for mtx_destroy

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/thread/shared_timed_mutex/%7Eshared_timed_mutex