Skip to main content

Module parallel_trace

Module parallel_trace 

Source
Expand description

parallel_trace submodule. Optional stderr tracing for mysync mutations under trace { ... } and fan.

Functions§

emit_scalar_mutation
Emit one line for a scalar mutation (mysync / atomic scalar).
fan_worker_set_index
Set the current worker index for fan [N] { } (typically $_ as integer).
is_enabled
is_enabled — see implementation.
trace_enter
Begin a trace { ... } region (all threads see the same flag).
trace_leave
trace_leave — see implementation.