##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::mutex::~mutex

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

[edit template]

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

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/thread/mutex/%7Emutex&oldid=67048"