cnd_init
Aus cppreference.com
|
|
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. |
<metanoindex/>
<tbody> </tbody>| definiert in Header <threads.h>
|
||
int cnd_init( cnd_t* cond ); |
(Seit C11) | |
Initialisiert eine neue Zustandsgröße. Das Objekt, auf das
cond auf den Wert, der die Bedingung Variable identifiziert gesetzt werden .Original:
Initializes new condition variable. The object pointed to by
cond will be set to value that identifies the condition variable.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.
Parameter
| cond | - | Zeiger auf eine Variable auf Kennung des Zustandsvariable zu speichern
Original: pointer to a variable to store identifier of the condition variable to The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Rückgabewert
thrd_success wenn die Bedingung variable erfolgreich erstellt wurde. Ansonsten kehrt thrd_nomem wenn es unzureichende Menge an Speicher oder thrd_error wenn ein anderer Fehler aufgetreten .Original:
thrd_success if the condition variable was successfully created. Otherwise returns thrd_nomem if there was insufficient amount of memory or thrd_error if another error occurred.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.