Namespaces
Variants
Actions

std::shared_lock<Mutex>::~shared_lock

From cppreference.com
< cpp‎ | thread‎ | shared lock
 
 
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)
 
 
~shared_lock();
(since C++14)

Destroys the lock.

If *this has an associated mutex ((mutex() returns a non-null pointer) and has acquired ownership of it (owns() returns true), the mutex is unlocked by calling unlock_shared() .

Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/thread/shared_lock/%7Eshared_lock&oldid=161231"

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