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
This commit is contained in:
25
docs/api/threading/task-system/getworkerthreadcount.md
Normal file
25
docs/api/threading/task-system/getworkerthreadcount.md
Normal file
@@ -0,0 +1,25 @@
|
||||
# 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) - 返回类总览
|
||||
Reference in New Issue
Block a user