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/tasksystemconfig/stealtasks.md
Normal file
25
docs/api/threading/tasksystemconfig/stealtasks.md
Normal file
@@ -0,0 +1,25 @@
|
||||
# TaskSystemConfig::stealTasks
|
||||
|
||||
```cpp
|
||||
bool stealTasks = true
|
||||
```
|
||||
|
||||
是否启用工作窃取。当启用时,空闲的工作线程可以从其他繁忙线程的任务队列中窃取任务,提高整体吞吐率。
|
||||
|
||||
**类型:** `bool`
|
||||
|
||||
**默认值:** `true`
|
||||
|
||||
**当前状态:** 此配置项当前未实际实现,工作窃取功能不可用。所有工作线程仅从全局任务队列获取任务。
|
||||
|
||||
**示例:**
|
||||
|
||||
```cpp
|
||||
TaskSystemConfig config;
|
||||
config.workerThreadCount = 8;
|
||||
config.stealTasks = true; // 预留配置项(当前未实现)
|
||||
```
|
||||
|
||||
## 相关文档
|
||||
|
||||
- [TaskSystemConfig 总览](tasksystemconfig.md) - 返回类总览
|
||||
Reference in New Issue
Block a user