swap Function (<thread>)
Visual Studio 2012
Swaps the states of two thread objects.
void swap( thread& Left, thread& Right ) _NOEXCEPT;
Swaps the states of two thread objects.
void swap( thread& Left, thread& Right ) _NOEXCEPT;