std::thread::hardware_concurrency
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> static unsigned hardware_concurrency(); |
(seit C++11) | |
Gibt die Anzahl der gleichzeitigen Threads durch die Umsetzung unterstützt. Der Wert sollte nur ein Hinweis betrachtet werden .
Original:
Returns number of concurrent threads supported by the implementation. The value should be considered only a hint.
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
(None)
Original:
(none)
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.
Rückgabewert
Anzahl der gleichzeitigen Threads unterstützt. Wenn der Wert nicht genau definiert ist oder nicht berechenbar, kehrt
0 .Original:
number of concurrent threads supported. If the value is not well defined or not computable, returns
0.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.
Ausnahmen
Beispiel
| This section is incomplete Reason: no example |