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:
2026-03-19 12:44:08 +08:00
parent e003fe6513
commit 58a83f445a
1012 changed files with 56880 additions and 22 deletions

View File

@@ -0,0 +1,37 @@
# TaskSystem::Wait
```cpp
void Wait(uint64_t taskId)
```
**注意:** 此方法当前为空实现,不执行任何操作。
**参数:**
- `taskId` - 要等待的任务 ID
**返回:**
**复杂度:** N/A空实现
**当前状态:** 此方法为空实现,不执行任何操作。任务系统目前不支持按任务 ID 等待。
**建议:** 使用 `TaskGroup::Wait` 代替此方法。
**示例:**
```cpp
uint64_t id = TaskSystem::Get().Submit([]() {
for (int i = 0; i < 1000000; ++i) {
Compute(i);
}
});
printf("Waiting for task...\n");
// 注意:当前实现为空,建议使用 TaskGroup 来等待任务完成
TaskSystem::Get().Wait(id);
printf("Task completed\n");
```
## 相关文档
- [TaskSystem 总览](task-system.md) - 返回类总览