## ThreadPoolImpl class


[Thread](../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.

```cpp
class ThreadPoolImpl
```

## 方法

| 方法 | 描述 |
| --- | --- |
| [GetAvailableThreads](./getavailablethreads/)(int\&, int\&) | 获取可用线程的数量。 |
| static [GetInitialized](./getinitialized/)() | 获取初始化状态单例。 |
| [GetMaxThreads](./getmaxthreads/)(int\&, int\&) | 获取最大并发线程数。 |
| [GetMinThreads](./getminthreads/)(int\&, int\&) | 获取池正在创建的最小线程数。 |
| [JoinAll](./joinall/)() | 加入所有拥有的线程。无限期等待。 |
| [QueueUserWorkItem](./queueuserworkitem/)(WaitCallback, const System::SharedPtr\<System::Object\>\&) | 向队列添加工作项。 |
| [SetMaxThreads](./setmaxthreads/)(int, int) | 设置池拥有的线程数量。 |
| [SetMinThreads](./setminthreads/)(int, int) | 设置池拥有的最小线程数。 |
| [ThreadPoolImpl](./threadpoolimpl/)() | 构造函数。 |
| [~ThreadPoolImpl](./~threadpoolimpl/)() | 析构函数。如果线程尚未终止，则加入所有线程。 |
## 另见

* Namespace [System::Threading](../)
* Library [Aspose.Font for C++](../../)
