Thread support library
Aus cppreference.com
< c
![]() |
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. |
Wenn das Makro konstanten
__STDC_NO_THREADS__
(C11) durch den Compiler definiert ist, werden die Header <threads.h>
und alle hier aufgeführten Namen nicht vorgesehen .Original:
If the macro constant
__STDC_NO_THREADS__
(C11) is defined by the compiler, the header <threads.h>
and all of the names listed here are not provided.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.
Inhaltsverzeichnis |
[Bearbeiten] Threads
definiert in Header
<threads.h> | |
thrd_t
|
eine Art Identifizierung eines Thread
Original: a type identifying a thread The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
(C11) |
ein Thread erstellt Original: creates a thread The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Funktion) |
(C11) |
prüft, ob zwei Kennungen zum gleichen Thema verweisen Original: checks if two identifiers refer to the same thread The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Funktion) |
(C11) |
erhält die aktuelle Thread-Kennung Original: obtains the current thread identifier The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Funktion) |
(C11) |
unterbricht die Ausführung des aufrufenden Threads für die gegebene Zeitspanne Original: suspends execution of the calling thread for the given period of time The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Funktion) |
(C11) |
yields the current time slice (Funktion) |
(C11) |
beendet den aufrufenden Thread Original: terminates the calling thread The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Funktion) |
(C11) |
löst einen Faden Original: detaches a thread The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Funktion) |
(C11) |
blockiert, bis ein Thread beendet wird Original: blocks until a thread terminates The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Funktion) |
zeigt einen Thread Fehlerstatus Original: indicates a thread error status The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (konstanten) | |
thrd_start_t (C11) |
Funktion Zeigertyp übergeben thrd_create Original: function pointer type passed to thrd_create The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (typedef) |
[Bearbeiten] Gegenseitigen Ausschluss
definiert in Header
<threads.h> | |
mtx_t
|
Mutex-Kennung
Original: mutex identifier The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
(C11) |
schafft eine Mutex Original: creates a mutex The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Funktion) |
(C11) |
Blöcke bis Schleusen ein Mutex Original: blocks until locks a mutex The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Funktion) |
(C11) |
Blöcke bis sperrt ein Mutex oder mal aus Original: blocks until locks a mutex or times out The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Funktion) |
(C11) |
sperrt ein Mutex oder kehrt, ohne zu blockieren, wenn bereits gesperrt Original: locks a mutex or returns without blocking if already locked The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Funktion) |
(C11) |
entsperrt eine Mutex Original: unlocks a mutex The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Funktion) |
(C11) |
zerstört ein Mutex Original: destroys a mutex The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Funktion) |
(C++11) (C++11) (C++11) |
definiert die Art eines Mutex Original: defines the type of a mutex The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (enum) |
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. | |
once_flag
|
the type of the flag used by call_once |
(C11) |
initialisiert eine once_flag Original: initializes a once_flag The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Makro konstant) |
(C11) |
ruft eine Funktion genau einmal Original: calls a function exactly once The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Funktion) |
[Bearbeiten] Zustand Variablen
definiert in Header
<threads.h> | |
cnd_t
|
Zustandsgröße Kennung
Original: condition variable identifier The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
(C11) |
schafft eine Zustandsgröße Original: creates a condition variable The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Funktion) |
(C11) |
freigibt einem Thread auf einer Bedingung variable blockiert Original: unblocks one thread blocked on a condition variable The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Funktion) |
(C11) |
entsperrt alle Themen von einer Bedingung variable blockiert Original: unblocks all threads blocked on a condition variable The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Funktion) |
(C11) |
Blöcke auf einer Zustandsgröße Original: blocks on a condition variable The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Funktion) |
(C11) |
Blöcke auf einer Zustandsgröße, mit einem Timeout Original: blocks on a condition variable, with a timeout The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Funktion) |
(C11) |
zerstört eine Zustandsgröße Original: destroys a condition variable The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Funktion) |
[Bearbeiten] Thread-lokalen Speicher
definiert in Header
<threads.h> | |
(C11) |
lokalen Thread-Makros Original: thread local type macro The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Makro konstant) |
tss_t
|
Thread-spezifische Speicher-Zeiger
Original: thread-specific storage pointer The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
(C11) |
maximale Anzahl von Malen Destruktoren genannt werden Original: maximum number of times destructors are called The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Makro konstant) |
tss_dtor_t
|
function pointer type used for TSS destructor |
(C11) |
creates thread-specific storage pointer with a given destructor (Funktion) |
(C11) |
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) |
(C11) |
schreiben, um Thread-spezifische Speicher Original: write to 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) |
(C11) |
gibt die Ressourcen von einem bestimmten Thread-spezifische Zeiger statt Original: releases the resources held by a given thread-specific pointer The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Funktion) |