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

Function qpush

bootloader/kernel/src/task/executor.rs:69–71  ·  view source on GitHub ↗
(queue: Arc<ArrayQueue<Task>>, f: impl Future<Output = ()> + 'static)

Source from the content-addressed store, hash-verified

67 waker_cache: BTreeMap<TaskId, Waker>,
68}
69pub fn qpush(queue: Arc<ArrayQueue<Task>>, f: impl Future<Output = ()> + 'static) {
70 queue.push(Task::new(f));
71}
72
73impl Executor {
74 pub fn new() -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected