std::stop_token:: swap
From cppreference.net
<
cpp
|
thread
|
stop token
C++
Concurrency support library
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
std::stop_token
| Member functions | ||||
| Modifiers | ||||
|
stop_token::swap
|
||||
| Observers | ||||
| Non-member functions | ||||
|
void
swap
(
std::
stop_token
&
other
)
noexcept
;
|
(seit C++20) | |
Tauscht den assoziierten Stop-Zustand von * this und other aus.
Parameter
| other | - |
stop_token
zum Austausch der Inhalte mit
|
Rückgabewert
(keine)