1
0
mirror of https://github.com/bspeice/aeron-rs synced 2026-06-16 09:31:39 -04:00

Able to successfully terminate a driver!!!

Needs a *ton* of work to be more Rust-idiomatic, but the basics are there.
This commit is contained in:
2019-10-06 23:16:47 -04:00
parent a755382f24
commit dc9fd52e07
3 changed files with 143 additions and 55 deletions
+2 -1
View File
@@ -66,7 +66,8 @@ pub struct MetaDataDefinition {
/// Length of the metadata block in a CnC file. Note that it's not equivalent
/// to the actual struct length.
pub const META_DATA_LENGTH: usize = bit::align_usize(size_of::<MetaDataDefinition>(), bit::CACHE_LINE_LENGTH * 2);
pub const META_DATA_LENGTH: usize =
bit::align_usize(size_of::<MetaDataDefinition>(), bit::CACHE_LINE_LENGTH * 2);
/// Version code for the Aeron CnC file format
pub const CNC_VERSION: i32 = crate::sematic_version_compose(0, 0, 16);