diff options
| author | Jorge Aparicio <jorge@japaric.io> | 2018-12-16 01:11:54 +0100 |
|---|---|---|
| committer | Jorge Aparicio <jorge@japaric.io> | 2018-12-16 01:11:54 +0100 |
| commit | 9757c33b0051900fa6c5581be413880d07a237d2 (patch) | |
| tree | e28892d33c19f070a5a9194ba569ff76a2b1e4d2 /macros | |
| parent | 8ac60ce369d8b4b73bf9018720f04675922c9b06 (diff) | |
use the single core variant of spsc::Queue
Diffstat (limited to 'macros')
| -rw-r--r-- | macros/src/codegen.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/macros/src/codegen.rs b/macros/src/codegen.rs index 6b8e159..71c6090 100644 --- a/macros/src/codegen.rs +++ b/macros/src/codegen.rs @@ -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 |
