Files
XCSDD/docs/api/threading/task-system/getworkerthreadcount.md
ssdfasd 58a83f445a fix: improve doc link navigation and tree display
- Fix link resolution with proper relative/absolute path handling
- Improve link styling with underline decoration
- Hide leaf nodes from tree, only show directories
- Fix log file path for packaged app
2026-03-19 12:44:08 +08:00

26 lines
443 B
Markdown

# TaskSystem::GetWorkerThreadCount
```cpp
uint32_t GetWorkerThreadCount() const
```
获取工作线程的数量。
**参数:**
**返回:** `uint32_t` - 工作线程数量
**复杂度:** O(1)
**示例:**
```cpp
TaskSystem::Get().Initialize(config);
uint32_t count = TaskSystem::Get().GetWorkerThreadCount();
printf("Worker threads: %u\n", count);
```
## 相关文档
- [TaskSystem 总览](task-system.md) - 返回类总览