Espaços nominais
Variantes
Acções

mtx_destroy

Da cppreference.com
< c‎ | thread

 
 
Biblioteca de suporte a discussão
Threads
Original:
Threads
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Exclusão mútua
Original:
Mutual exclusion
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
mtx_unlock
mtx_destroy
mtx_types
Chamar uma vez
Original:
Call once
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Variáveis ​​de condição
Original:
Condition variables
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Segmento local de armazenamento
Original:
Thread-local storage
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 
Defined in header <threads.h>
void mtx_destroy( mtx_t *mutex );
(desde C11)
Destrói o mutex apontado por cond.
Original:
Destroys the mutex pointed to by cond.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Se há segmentos que estão aguardando na mutex, o comportamento é indefinido.
Original:
If there are threads waiting on mutex, the behavior is undefined.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[editar] Parâmetros

mutex -
ponteiro para o mutex para destruir
Original:
pointer to the mutex to destroy
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[editar] Valor de retorno

(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.