Namespaces
Variants
Actions

std::lock_guard<Mutex>::~lock_guard

From cppreference.com
< cpp‎ | thread‎ | lock guard
 
 
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::lock_guard
Member functions
lock_guard::~lock_guard
 
~lock_guard();
(since C++11)

Releases the ownership of the owned mutex.

Effectively calls m.unlock() where m is the mutex passed to the lock_guard's constructor.

Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/thread/lock_guard/%7Elock_guard&oldid=132387"

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