Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
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