##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::shared_timed_mutex::~shared_timed_mutex

From cppreference.com
< cpp‎ | thread‎ | shared timed mutex

[edit template]

~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.

### [edit] See also

C documentation for mtx_destroy

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/thread/shared_timed_mutex/%7Eshared_timed_mutex&oldid=68942"