moirai-core 0.5.0

Core abstractions and traits for the Moirai concurrency library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Advanced memory management for Moirai concurrency library.

mod allocator;
mod buffer;
mod pool;

#[cfg(test)]
mod tests;

/// Cache line size for alignment optimizations
pub const CACHE_LINE_SIZE: usize = 64;

pub use allocator::CacheAlignedAllocator;
pub use buffer::UnifiedRingBuffer;
pub use pool::MemoryPool;