mirror of
https://github.com/rust-embedded/heapless.git
synced 2025-09-27 12:30:35 +00:00
Make Producer<..., SingleCore> Send, like Consumer
I assume there's no reason that only multi-core Producers are marked Send, while Consumers are not (they're pretty symmetrical).
This commit is contained in:
parent
357a312dba
commit
87917e059b
@ -61,11 +61,12 @@ where
|
||||
_marker: PhantomData<&'a ()>,
|
||||
}
|
||||
|
||||
unsafe impl<'a, T, N, U> Send for Producer<'a, T, N, U>
|
||||
unsafe impl<'a, T, N, U, C> Send for Producer<'a, T, N, U, C>
|
||||
where
|
||||
N: ArrayLength<T>,
|
||||
T: Send,
|
||||
U: sealed::Uxx,
|
||||
C: sealed::XCore,
|
||||
{
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user