flashmap 0.0.1-alpha

A lock-free eventually consistent concurrent hash map.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#[cfg(loom)]
pub use loom::*;

#[cfg(not(loom))]
pub use std::{sync, thread};

pub fn maybe_loom_model<F>(test: F)
where
    F: Fn() + Send + Sync + 'static,
{
    #[cfg(loom)]
    loom::model(test);
    #[cfg(not(loom))]
    test();
}