Docs.rs
tg-task-manage-0.4.2-preview.1
tg-task-manage 0.4.2-preview.1
Permalink
Docs.rs crate page
GPL-3.0
Links
Homepage
Repository
crates.io
Source
Owners
chyyuu
DeathWish5
Ivans-11
Dependencies
Versions
100%
of the crate is documented
Platform
aarch64-apple-darwin
aarch64-unknown-linux-gnu
i686-pc-windows-msvc
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
Crate tg_task_manage
tg_
task_
manage
0.4.2-preview.1
All Items
Crate Items
Structs
Traits
Crate
tg_
task_
manage
Copy item path
Source
Expand description
任务管理 lib
教程阅读建议:
从
Manage
/
Schedule
两个 trait 入手,理解“对象存储”和“调度策略”解耦;
再看
PManager
/
PThreadManager
,理解父子进程、线程归属与 wait 语义。
Structs
§
CoroId
协程 Id
ProcId
进程 Id
Thread
Id
线程 Id
Traits
§
Manage
Manager trait
Schedule
Scheduler