Skip to main content

Module parallel_trace

Module parallel_trace 

Source
Expand description

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
trace_enter
Begin a trace { ... } region (all threads see the same flag).
trace_leave