System::Threading::ThreadPoolImpl klasse
inhoud
[
verbergen
]ThreadPoolImpl class
Thread pool internal data. This is a singleton type with memory management done by access function(s). You should never create instances of it directly.
class ThreadPoolImpl
Methoden
| Methode | Beschrijving |
|---|---|
| GetAvailableThreads(int&, int&) | Haalt het aantal beschikbare threads op. |
| static GetInitialized() | Haalt de singleton van de initialisatiestatus op. |
| GetMaxThreads(int&, int&) | Haalt het maximale aantal gelijktijdige threads op. |
| GetMinThreads(int&, int&) | Haalt het minimale aantal threads op dat door de pool wordt aangemaakt. |
| JoinAll() | Voegt alle eigen threads samen. Wacht oneindig. |
| QueueUserWorkItem(WaitCallback, const System::SharedPtr<System::Object>&) | Voegt een werkitem toe aan de wachtrij. |
| SetMaxThreads(int, int) | Stelt het aantal threads in dat eigendom is van de pool. |
| SetMinThreads(int, int) | Stelt het minimale aantal threads in dat eigendom is van de pool. |
| ThreadPoolImpl() | Constructor. |
| ~ThreadPoolImpl() | Destructor. Voegt alle threads samen als ze nog niet beëindigd zijn. |
Zie ook
- Namespace System::Threading
- Library Aspose.Page for C++