Namensräume
Varianten
Aktionen

tss_set

Aus cppreference.com
< c‎ | thread

 
 
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.
 
Defined in header <threads.h>
int tss_set( tss_t tss_id, void *val );
(Seit C11)
Legt den Wert des Thread-spezifische Speicher durch tss_id für den aktuellen Thread zu val identifiziert .
Original:
Sets the value of the thread-specific storage identified by tss_id for the current thread to val.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[Bearbeiten] Parameter

tss_id -
identifiziert die Thread-spezifische Speicher zu ändern
Original:
identifies the thread-specific storage to modify
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
val -
Wert auf Thread-spezifische Speicher zu setzen
Original:
value to set thread-specific storage to
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[Bearbeiten] Rückgabewert

thrd_success wenn erfolgreich, thrd_error sonst .
Original:
thrd_success if successful, thrd_error otherwise.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[Bearbeiten] Siehe auch

liest aus Thread-spezifische Speicher
Original:
reads from thread-specific storage
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Funktion) [edit]