Files
XCSDD/docs/api/threading/task/getid.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

368 B

ITask::GetId

uint64_t GetId() const

获取任务的唯一标识符。

参数:

返回: uint64_t - 任务的唯一 ID

复杂度: O(1)

示例:

ITask* task = /* ... */;
uint64_t id = task->GetId();
printf("Task ID: %llu\n", (unsigned long long)id);

相关文档