awkernel_sync 0.1.0

no_std synchronization primitives (mutex, rwlock, spinlock, MCS lock) with interrupt guards for the Awkernel operating system.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#[inline(always)]
pub fn get_flag() -> usize {
    0
}

#[inline(always)]
pub fn disable() {}

#[inline(always)]
pub fn set_flag(_flag: usize) {}

#[inline(always)]
pub fn are_enabled() -> bool {
    false
}