Compartir a través de


swap (Función) (<thread>)

Cambie los estados de dos objetos de thread .

void swap(
   thread& Left,
   thread& Right
) _NOEXCEPT;

Parámetros

  • Left
    Objeto thread izquierdo.

  • Right
    Objeto thread derecho.

Comentarios

Las llamadas de función Left.swap(Right).

Requisitos

Encabezado: thread

Espacio de nombres: std

Vea también

Referencia

thread (Clase)

<thread>

thread::swap (Método)