classe System::Threading::ThreadPoolImpl
Contenu
[
Cacher
]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
Méthodes
| Méthode | Description |
|---|---|
| GetAvailableThreads(int&, int&) | Obtient le nombre de threads disponibles. |
| static GetInitialized() | Obtient le singleton d’état d’initialisation. |
| GetMaxThreads(int&, int&) | Obtient le nombre maximal de threads concurrents. |
| GetMinThreads(int&, int&) | Obtient le nombre minimal de threads créés par le pool. |
| JoinAll() | Joint tous les threads possédés. Attend indéfiniment. |
| QueueUserWorkItem(WaitCallback, const System::SharedPtr<System::Object>&) | Ajoute un élément de travail à la file d’attente. |
| SetMaxThreads(int, int) | Définit le nombre de threads possédés par le pool. |
| SetMinThreads(int, int) | Définit le nombre minimal de threads possédés par le pool. |
| ThreadPoolImpl() | Constructeur. |
| ~ThreadPoolImpl() | Destructeur. Joint tous les threads s’ils n’ont pas encore été terminés. |
Voir aussi
- Namespace System::Threading
- Library Aspose.Font for C++