Monotonic trait is safe; add MultiCore trait

This commit is contained in:
Jorge Aparicio 2019-06-24 14:09:12 +02:00
parent 4e51bb68b9
commit 596cf585ea
7 changed files with 35 additions and 9 deletions

View file

@ -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>(