[ Web Proxy ]
URL:
Viewing: https://ru.cppreference.com/cpp/thread/unique_lock/swap [Back]  [Original]

std::unique_lock::swap cppreference.com
cppreference.com

std::unique_lock::swap

cppreference.com

<metanoindex/>

 
C++
(C++20)
(C++20)
(C++11)
(C++20)
/
(C++11)
(C++11)
(C++11)
(C++17)
 
(C++11)
(C++20)
(C++20)
this_thread
(C++11)
(C++11)
(C++11)
(C++11)
(C++20)
(C++11)( C++20)
(C++11)( C++20)
(C++11)( C++20)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)(C++11)(C++11)
(C++11)
(C++11)
(C++11)
(C++20)
(C++20)
(C++11)
(C++11)
(C++11)
(C++11)
 
 
<tbody> </tbody>
template< class Mutex > void swap( unique_lock<Mutex>& other );
( C++11)
.
:
Exchanges the internal states of the lock objects.
Google.
. .

other
:
the lock to swap the state with
Google.
. .

()

noexcept:  
noexcept
  

.

std::swap unique_lock
:
specialization of std::swap for unique_lock
Google.
. .

( ) []

Web Proxy Viewer  |  New URL  |  Original Page