Espaços nominais
Variantes
Acções

thrd_success, thrd_timedout, thrd_busy, thrd_nomem, thrd_error

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.
thrd_successthrd_timedout thrd_busythrd_nomemthrd_error
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.
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.
 
Definido no cabeçalho <threads.h>
enum{

    thrd_success =/* unspecified */,
    thrd_timedout =/* unspecified */,
    thrd_busy =/* unspecified */,
    thrd_nomem =/* unspecified */,
    thrd_error =/* unspecified */

};
(desde C11)

Identifiers a thread error state.

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
thrd_success indicates successful return value
thrd_timedout indicates timed out return value
thrd_busy indicates unsuccessful return value due to resource temporary unavailable
thrd_nomem indicates unsuccessful return value due to out of memory condition
thrd_error indicates unsuccessful return value
close