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

Method new

bootloader/kernel/src/task/executor.rs:13–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11
12impl SimpleExecutor {
13 pub fn new() -> SimpleExecutor {
14 SimpleExecutor {
15 task_queue: VecDeque::new(),
16 }
17 }
18
19 pub fn spawn(&mut self, task: Task) {
20 self.task_queue.push_back(task)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected