macro_rules! atomic_batch_scope {
($self:expr, $ops:block) => { ... };
}
Expand description
This macro executes the given block of operations as a new atomic write batch IFF there is no atomic write batch in progress yet. This ensures that complex atomic operations consisting of multiple lower-level operations - which might also need to be atomic if executed individually - are executed as a single large atomic operation regardless.