simplelock 0.4.1

Simple abstractions for inter-process synchronization.
Documentation
// Import FakeLock if the "fake" feature is enabled.
cfg_if! {
    if #[cfg(feature = "fake")] {
        mod fake;
        pub use fake::FakeLock;
    }
}

// Import FileLock if the "file" feature is enabled.
cfg_if! {
    if #[cfg(feature = "file")] {
        mod file;
        pub use file::FileLock;
    }
}

// Import SemaphoreLock if the "sema" feature is enabled.
cfg_if! {
    if #[cfg(feature = "sema")] {
        mod semaphore;
        pub use semaphore::SemaphoreLock;
    }
}