Namensräume
Varianten

thrd_success, thrd_timedout, thrd_busy, thrd_nomem, thrd_error

Aus cppreference.com
< c | thread

<metanoindex/>

 
 
Thema Support-Bibliothek
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.
Gegenseitigen Ausschluss
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.
Rufen Sie einmal
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.
Zustand Variablen
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.
Thread-lokalen Speicher
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.
 
<tbody> </tbody>
definiert in Header <threads.h>
enum { thrd_success = /* unspecified */, thrd_timedout = /* unspecified */, thrd_busy = /* unspecified */, thrd_nomem = /* unspecified */, thrd_error = /* unspecified */ };
(Seit C11)

Identifiers a thread error state.

Constant
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