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

Method spawn

bootloader/kernel/src/task/executor.rs:19–21  ·  view source on GitHub ↗
(&mut self, task: Task)

Source from the content-addressed store, hash-verified

17 }
18
19 pub fn spawn(&mut self, task: Task) {
20 self.task_queue.push_back(task)
21 }
22}
23use core::task::RawWakerVTable;
24use core::task::{RawWaker, Waker};

Callers 2

mainFunction · 0.80
runMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected