Module os1::sync
[−]
[src]
A module for synchronization primitives
Reexports
use core::prelude::v1::*; |
use core::prelude::v1::*; |
use alloc::boxed::Box; |
use core::sync::atomic::{AtomicIsize, Ordering}; |
use core::cell::UnsafeCell; |
use core::ops::{Deref, DerefMut}; |
use super::super::interrupts::{on, off}; |
use super::super::process::{ready_queue, proc_yield, ProcessQueue}; |
Modules
barrier |
A module containing a barrier implementation |
event |
A module containing an event implementation |
semaphore |
A semaphore implementation based on the rust Mutex |
Structs
Barrier |
A Barrier implementation. |
Event |
An Event data structure. |
Semaphore |
|
SemaphoreGuard |
RAII SemaphoreGuard |
StaticSemaphore |
|