mirror of
https://github.com/bspeice/aeron-rs
synced 2024-12-22 05:48:10 -05:00
driver => media_driver
This commit is contained in:
parent
531bc0d64c
commit
c0e6e63cd3
@ -1,6 +1,6 @@
|
|||||||
//! A version of the `aeronmd` runner program demonstrating the Rust wrappers
|
//! A version of the `aeronmd` runner program demonstrating the Rust wrappers
|
||||||
//! around Media Driver functionality.
|
//! around Media Driver functionality.
|
||||||
use aeron_rs::driver::DriverContext;
|
use aeron_rs::media_driver::DriverContext;
|
||||||
use std::sync::atomic::{AtomicBool, Ordering};
|
use std::sync::atomic::{AtomicBool, Ordering};
|
||||||
|
|
||||||
static RUNNING: AtomicBool = AtomicBool::new(false);
|
static RUNNING: AtomicBool = AtomicBool::new(false);
|
||||||
|
@ -78,7 +78,7 @@ pub const CNC_FILE: &str = "cnc.dat";
|
|||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod tests {
|
mod tests {
|
||||||
use crate::cnc_descriptor::{MetaDataDefinition, CNC_FILE, CNC_VERSION};
|
use crate::cnc_descriptor::{MetaDataDefinition, CNC_FILE, CNC_VERSION};
|
||||||
use crate::driver::DriverContext;
|
use crate::media_driver::DriverContext;
|
||||||
use memmap::MmapOptions;
|
use memmap::MmapOptions;
|
||||||
use std::fs::File;
|
use std::fs::File;
|
||||||
use tempfile::tempdir;
|
use tempfile::tempdir;
|
||||||
|
@ -9,7 +9,7 @@ pub mod command;
|
|||||||
pub mod concurrent;
|
pub mod concurrent;
|
||||||
pub mod context;
|
pub mod context;
|
||||||
pub mod control_protocol;
|
pub mod control_protocol;
|
||||||
pub mod driver;
|
pub mod media_driver;
|
||||||
pub mod driver_proxy;
|
pub mod driver_proxy;
|
||||||
pub mod util;
|
pub mod util;
|
||||||
|
|
||||||
|
@ -165,7 +165,7 @@ impl<S> Drop for MediaDriver<S> {
|
|||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod tests {
|
mod tests {
|
||||||
use crate::driver::{DriverContext, DriverError};
|
use crate::media_driver::{DriverContext, DriverError};
|
||||||
use std::ffi::CStr;
|
use std::ffi::CStr;
|
||||||
use tempfile::tempdir;
|
use tempfile::tempdir;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user