std::lock_guard<Mutex>:: ~lock_guard
From cppreference.net
<
cpp
|
thread
|
lock guard
C++
Concurrency support library
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
std::lock_guard
| Member functions | ||||
|
lock_guard::~lock_guard
|
|
~lock_guard
(
)
;
|
(seit C++11) | |
Gibt den Besitz des gehaltenen Mutex frei.
Ruft effektiv
m.
unlock
(
)
auf, wobei
m
das Mutex-Objekt ist, das an den Konstruktor des
lock_guard
übergeben wurde.