mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-19 06:15:45 +01:00
Monotonic trait is safe; add MultiCore trait
This commit is contained in:
parent
4e51bb68b9
commit
596cf585ea
7 changed files with 35 additions and 9 deletions
|
|
@ -108,6 +108,13 @@ where
|
|||
{
|
||||
}
|
||||
|
||||
#[inline(always)]
|
||||
pub fn assert_multicore<T>()
|
||||
where
|
||||
T: super::MultiCore,
|
||||
{
|
||||
}
|
||||
|
||||
#[cfg(armv7m)]
|
||||
#[inline(always)]
|
||||
pub unsafe fn lock<T, R>(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue