swap – funkce (<thread>)
Zamění státy dvou thread objekty.
void swap(
thread& Left,
thread& Right
) _NOEXCEPT;
Parametry
Left
Levý objekt thread.Right
Pravý objekt thread.
Poznámky
Volání funkce Left.swap(Right).
Požadavky
Hlavička: thread
Obor názvů: std