std::thread::operator= - cppreference.com
De cppreference.com
<metanoindex/>
<tbody> </tbody>
|
|
(desde C++11) | |
Atribui o estado de other para *this usando semântica mover.
Original:
Assigns the state of other to *this using move semantics.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Se *this ainda tem um segmento de corrida a ele associada (ie joinable() == true), std::terminate() é chamado.
Original:
If *this still has an associated running thread (i.e. joinable() == true), std::terminate() is called.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Parâmetros
| other | - | outro objeto de discussão para atribuir a este objeto de discussão Original: another thread object to assign to this thread object The text has been machine-translated via Google Translate. |
Valor de retorno
*this