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,33 @@
# TaskSystem::Shutdown
```cpp
void Shutdown()
```
关闭任务系统,停止所有工作线程并清理资源。
**参数:**
**返回:**
**复杂度:** O(n)
**注意:**
- 调用后应等待所有提交的任务执行完毕,或确保不再需要未完成的任务。
- 关闭后不可再次使用,必须重新 Initialize。
**示例:**
```cpp
TaskSystem::Get().Initialize(config);
// ... 使用任务系统 ...
TaskSystem::Get().Shutdown();
printf("TaskSystem stopped\n");
```
## 相关文档
- [TaskSystem 总览](task-system.md) - 返回类总览
- [Initialize](initialize.md) - 初始化任务系统