bitcoin-sync 0.1.19

Low-level synchronization, semaphore, lock-order debugging, and interruptible thread utilities modelled after Bitcoin Core, built on parking_lot and tracing.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// ---------------- [ File: bitcoin-sync/src/lib.rs ]
#[macro_use] mod imports; use imports::*;

pub struct RemovePointer<T>   {p: std::marker::PhantomData<T>}
pub struct RemoveReference<T> {p: std::marker::PhantomData<T>}

x!{annotated_mixin}
x!{reverse_lock}
x!{debug_lockorder}
x!{macros}
x!{scoped_raw_mutex}
x!{semaphore}
x!{semaphore_grant}
x!{thread}
x!{threadinterrupt}
x!{types}
x!{unique_lock}
x!{lock_api}