std::unique_lock::release
Da cppreference.com
< cpp | thread | unique lock
![]() |
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. |
mutex_type* release(); |
(desde C++11) | |
Quebra a associação do mutex associado, se existir, e *this.
Original:
Breaks the association of the associated mutex, if any, and *this.
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.
Nenhum bloqueio são desbloqueadas. Se o *this realizada propriedade do mutex associado antes da chamada, o chamador é agora responsável para destravar o mutex.
Original:
No locks are unlocked. If the *this held ownership of the associated mutex prior to the call, the caller is now responsible to unlock the mutex.
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.
Índice |
[editar] Parâmetros
(Nenhum)
Original:
(none)
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] Valor de retorno
Ponteiro para o mutex associado ou NULL se não houvesse mutex associado.
Original:
Pointer to the associated mutex or NULL if there was no associated mutex.
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] Exceções
[editar] Exemplo
Esta seção está incompleta Motivo: sem exemplo |
[editar] Veja também
destrave o mutex associado Original: unlocks the associated mutex The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função pública membro) |