MCPcopy Create free account
hub / github.com/Ruddle/Fomos / TaskWaker

Class TaskWaker

bootloader/kernel/src/task/executor.rs:149–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147}
148
149struct TaskWaker {
150 task_id: TaskId,
151 task_queue: Arc<ArrayQueue<TaskId>>,
152}
153impl TaskWaker {
154 fn wake_task(&self) {
155 self.task_queue.push(self.task_id).expect("task_queue full");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected