macro_rules! acquire_shared_session {
    ($chan:expr, $var:ident => $body:expr) => { ... };
}