thread::swap Method
Swaps the object state with that of a specified thread object.
void swap(
thread& Other
) _NOEXCEPT;
Parameters
- Other
A thread object.
Requirements
Header: thread
Namespace: std
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Swaps the object state with that of a specified thread object.
void swap(
thread& Other
) _NOEXCEPT;
Header: thread
Namespace: std