Espaces de noms
Variantes
Actions

thrd_success, thrd_timedout, thrd_busy, thrd_nomem, thrd_error

De cppreference.com
< c‎ | thread

 
 
Bibliothèque de support fil
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_detach
thrd_join
thrd_success
thrd_timedout thrd_busy
thrd_nomem
thrd_error
L'exclusion mutuelle
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.
Appelez fois
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.
Les variables de condition
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.
Stockage local des threads
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.
 
Déclaré dans l'en-tête <threads.h>
enum{

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

};
(depuis 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