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
;
|
(C++20 이후) | |
* this 와 other 의 연결된 중지 상태를 교환합니다.
매개변수
| other | - |
stop_token
와 내용을 교환할
|
반환값
(없음)