System::Threading::ThreadPoolImpl class
Contenuti
[
Nascondere
]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
Metodi
| Metodo | Descrizione |
|---|---|
| GetAvailableThreads(int&, int&) | Ottiene il numero di thread disponibili. |
| static GetInitialized() | Ottiene il singleton dello stato di inizializzazione. |
| GetMaxThreads(int&, int&) | Ottiene il numero massimo di thread concorrenti. |
| GetMinThreads(int&, int&) | Ottiene il numero minimo di thread creati dal pool. |
| JoinAll() | Unisce tutti i thread posseduti. Attende indefinitamente. |
| QueueUserWorkItem(WaitCallback, const System::SharedPtr<System::Object>&) | Aggiunge un elemento di lavoro alla coda. |
| SetMaxThreads(int, int) | Imposta il numero di thread posseduti dal pool. |
| SetMinThreads(int, int) | Imposta il numero minimo di thread posseduti dal pool. |
| ThreadPoolImpl() | Costruttore. |
| ~ThreadPoolImpl() | Distruttore. Unisce tutti i thread se non sono ancora stati terminati. |
Vedi anche
- Namespace System::Threading
- Library Aspose.Font for C++