Macro active_standby::generate_shared_aslock [−][src]
macro_rules! generate_shared_aslock {
($Table : ident $(< $($Inner : tt), * >) ?) => { ... };
}
Expand description
Generates an AsLock for the type passed in. This follows the shared model, meaning that you can share this across threads by wrapping it in an Arc like an RwLock.