Expand description
RTSC - Real-time Synchronization Components
Requirements for data synchronization in real-time applications differ from traditional high-load ones. The main difference is that real-time synchronization components must carefully respect and follow the traditional operating-system approach, avoid user-space spin-loops and other busy-waiting techniques (see Channels in Rust. Part 2 where such problems are clearly described).
This crate provides a pack of real-time-safe synchronization components for various typical and custom use-cases.
- Data Buffer
- Synchronization cells
- Sync/async channels
- Policy-based channels
- Semaphore
- Time tools
RTSC is a part of RoboPLC project.
Re-exports§
pub use parking_lot_rt as locking;
Modules§
- Data buffer
- Cell synchronization
- Sync channel
- Async channel
- Data policies
- Policy-based sync channel
- Policy-based async channel
- Policy-based deque
- Semaphore
- Time tools
Enums§
- Error type
Traits§
- An abstract trait for data channels and hubs
Type Aliases§
- Result type
Derive Macros§
- Automatically implements the
DataDeliveryPolicy
trait for an enum