Commit 1c8cb068 authored by Matthew Fernandez's avatar Matthew Fernandez
Browse files

always operate on running_count atomically when multithreaded

In upcoming changes we'll need to read running_count within error() to determine
whether we're single threaded or not. To do this while avoiding torn reads, we
need to use atomic reads and writes with running_count.

Github: related to #131 "minimal trace mode"
parent 009b5a9d
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment