Skip to content
Snippets Groups Projects
Commit b383d69e authored by Angus Lepper's avatar Angus Lepper
Browse files

Allow bit-reproducible results with 1 main and 1 runner thread

- queue_insert before incrementing s->waiting
- Decrement t->wait only if we might execute t
  i.e. it passes the mask and skip checks
- Remove unused non-blocking queue_gettask operation
- atomic.h atomic_load adds fences, avoids tearing across cache lines
- t->weight compile-time flag disables dependence on previous runtime
- scheduler_start compile-time flag removes race with scheduler_done
parent a7baf53d
No related branches found
No related tags found
1 merge request!81WIP: Allow bit-reproducible results with 1 main and 1 runner thread
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment