Skip to main content

begin_op

Function begin_op 

Source
pub fn begin_op(op: OpTypes) -> Result<(), CounterError>
Expand description

Track that an operation (of type op) has begun. Currently, we assume states are discrete (i.e. not nested). PRECONDITIONS: This function assumes that the crash-tracker is initialized. ATOMICITY: This function is atomic.