Namespaces
Variants
Actions

std::mutex::~mutex

From cppreference.com
< cpp‎ | thread‎ | mutex
 
 
Concurrency support library
(C++11)
(C++20)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++17)
(C++11)
(C++11)
(C++17)
(C++11)
(C++14)
(C++11)
(C++11)
(C++11)
(C++11)
(C++20)
(C++20)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++26)
(C++26)
(C++26)
(C++26)
(C++11)
(C++20)
(C++11)
(C++11)(deprecated in C++20)
(C++11)(deprecated in C++20)
(C++11)
(C++11)(deprecated in C++26)
 
std::mutex
Member functions
mutex::~mutex
Locking
Native handle
 
~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 "https://en.cppreference.com/mwiki/index.php?title=cpp/thread/mutex/%7Emutex&oldid=130765"

AltStyle によって変換されたページ (->オリジナル) /