mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-18 22:05:37 +01:00
use the single core variant of spsc::Queue
This commit is contained in:
parent
8ac60ce369
commit
9757c33b00
3 changed files with 6 additions and 6 deletions
|
|
@ -1594,13 +1594,13 @@ fn pre_init(ctxt: &Context, app: &App, analysis: &Analysis) -> proc_macro2::Toke
|
|||
// these are `MaybeUninit` `ReadyQueue`s
|
||||
for dispatcher in ctxt.dispatchers.values() {
|
||||
let rq = &dispatcher.ready_queue;
|
||||
exprs.push(quote!(#rq.set(rtfm::export::ReadyQueue::new());))
|
||||
exprs.push(quote!(#rq.set(rtfm::export::ReadyQueue::new_sc());))
|
||||
}
|
||||
|
||||
// these are `MaybeUninit` `FreeQueue`s
|
||||
for task in ctxt.tasks.values() {
|
||||
let fq = &task.free_queue;
|
||||
exprs.push(quote!(#fq.set(rtfm::export::FreeQueue::new());))
|
||||
exprs.push(quote!(#fq.set(rtfm::export::FreeQueue::new_sc());))
|
||||
}
|
||||
|
||||
// end-of-FIXME
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue