Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Swaps the states of two thread objects.
void swap(
thread& Left,
thread& Right
) _NOEXCEPT;
Parameters
Left
The left thread object.Right
The right thread object.
Remarks
The function calls Left.swap(Right).
Requirements
Header: thread
Namespace: std