kernel_
thread
0.1.0
Module child_
test
Module Items
Structs
Statics
Functions
Type Aliases
In crate kernel_
thread
kernel_thread
Module
child_test
Copy item path
Source
Structs
§
Wait
AnyChild
等待程序结束
Wait
Futex
WaitPid
等待程序结束
Statics
§
TASK_
MAP
任务表,可以通过任务 ID 获取任务
WAITING_
PID
等待队列 (父进程 id, 子进程 id)
Functions
§
add_
test_
child
添加一个测试任务
futex_
requeue
futex_
signal_
task
futex_
wake
wait_
futex
wake_
hangs
Type Aliases
§
ArcTask
任务类型
Futex
Table
Futex 等待队列, (等待地址, task_id, Waker)