std::cv_status
Da cppreference.com
![]() | This page has been machine-translated from the English version of the wiki using Google Translate. The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
Definido no cabeçalho <condition_variable> | ||
enumclass cv_status; | (desde C++11) | |
O
std::cv_status
enumeração escopo descreve se uma espera temporizada retornou por causa de tempo de espera ou não.Original:
The scoped enumeration
std::cv_status
describes whether a timed wait returned because of timeout or not.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
std::cv_status
é utilizada pelos métodos wait_for
e wait_until
de std::condition_variable e std::condition_variable_any.Original:
std::cv_status
is used by the wait_for
and wait_until
methods of std::condition_variable and std::condition_variable_any.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[editar]Constantes de membros
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. | Explanation |
no_timeout | a variável de condição foi acordada com notify_all , notify_one , ou falsamente Original: the condition variable was awakened with notify_all , notify_one , or spuriously The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
timeout | a variável de condição foi despertado pela expiração do tempo limite Original: the condition variable was awakened by timeout expiration The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[editar]Veja também
Bloqueia o segmento atual até que a variável de condição é acordado ou após o período de tempo limite especificado Original: blocks the current thread until the condition variable is woken up or after the specified timeout duration The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (of std::condition_variable função pública membro) | |
Bloqueia o segmento atual até que a variável de condição é acordado ou após o período de tempo limite especificado Original: blocks the current thread until the condition variable is woken up or after the specified timeout duration The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (of std::condition_variable_any função pública membro) | |
bloqueia o segmento atual até que a variável de condição é acordado ou até ponto de tempo especificado foi alcançado Original: blocks the current thread until the condition variable is woken up or until specified time point has been reached The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (of std::condition_variable função pública membro) | |
bloqueia o segmento atual até que a variável de condição é acordado ou até ponto de tempo especificado foi alcançado Original: blocks the current thread until the condition variable is woken up or until specified time point has been reached The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (of std::condition_variable_any função pública membro) |