WIP: Allow bit-reproducible results with 1 main and 1 runner thread
A variety of mostly minor changes which allow reproducible results with a single runner. A couple one-line changes, where the original code is safe but hinders this goal, are enabled only by a DETERMINISTIC_SCHEDULE
preprocessor flag. If you'd like to avoid preprocessor proliferation, these changes can be removed easily enough (but are probably worth documenting).
Resolves #58.
Merge request reports
Activity
That's a nice idea, yes. Especially if (at another time, I'm not sure I can justify it right now) it were deterministic with more than just a single runner. I'll take a look at that. I also need to fix a deadlock due to a brain fart in
scheduler_enqueue
and check the performance is still OK.
Please register or sign in to reply