Espacios de nombres
Variantes

operator==,!=,<,<=,>,>=<div class="t-tr-text">(Std :: hilo :: id)<div class="t-tr-dropdown"><div><div><div class="t-tr-dropdown-arrow-border"></div><div class="t-tr-dropdown-arrow"></div><div class="t-tr-dropdown-h">Original:</div><div class="t-tr-dropdown-orig">(std::thread::id)</div><div class="t-tr-dropdown-notes">The text has been machine-translated via [http://translate.google.com Google Translate].<br/> You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.</div></div></div></div></div>

De cppreference.com
 
 
Biblioteca de apoyo de concurrencia
Hilos
(C++11)
(C++20)
Espacio de nombres this_thread
(C++11)
(C++11)
(C++11)
Cancelación cooperativa
Exclusión mutua
(C++11)
Gestión genérica de bloqueo
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
Variables de condición
(C++11)
Semáforos
Pestillos y barreras
(C++20)
(C++20)
Futuros
(C++11)
(C++11)
(C++11)
(C++11)
Recuperación segura
(C++26)
Punteros de riesgo
Tipos atómicos
(C++11)
(C++20)
Inicialización de tipos atómicos
(C++11)(en desuso en C++20)
(C++11)(en desuso en C++20)
Orden de memoria
Funciones independientes para operaciones atómicas
Funciones independientes para indicadores atómicos
 
 
std::thread::id
Funciones miembro
Funciones no miembro
(hasta C++20)(hasta C++20)(hasta C++20)(hasta C++20)(hasta C++20)(C++20)
Clases auxiliares
 
bool operator==( thread::id lhs, thread::id rhs );
(1) (desde C++11)
bool operator!=( thread::id lhs, thread::id rhs );
(2) (desde C++11)
bool operator<( thread::id lhs, thread::id rhs );
(3) (desde C++11)
bool operator<=( thread::id lhs, thread::id rhs );
(4) (desde C++11)
bool operator>( thread::id lhs, thread::id rhs );
(5) (desde C++11)
bool operator>=( thread::id lhs, thread::id rhs );
(6) (desde C++11)
Compara dos identificadores de hilo .
Original:
Compares two thread identifiers.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
1-2)
Comprueba si lhs y rhs representar el mismo hilo, o hilo no .
Original:
Checks whether lhs and rhs represent either the same thread, or no thread.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
3-6)
Compara lhs y rhs de tal manera, que lhs y rhs están totalmente ordenado .
Original:
Compares lhs and rhs in such a way, that lhs and rhs are totally ordered.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Parámetros

lhs, rhs -
identificadores de hilo para comparar
Original:
thread identifiers to compare
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Valor de retorno

true si la relación correspondiente se mantiene, por lo demás false .
Original:
true whether the corresponding relation holds, false otherwise.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Excepciones

Especificación noexcept:  
noexcept
  (desde C++11)

Complejidad

Constante .
Original:
Constant.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.