Share via


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

See Also

Reference

thread Class

<thread>