1
0
mirror of synced 2026-05-09 17:17:19 +00:00
Files
YosysHQ.yosys/kernel/threading.cc
Robert O'Callahan 290fb0556d Prevent race on num_active_worker_threads_.
The core issue here is that we need to ensure `num_active_worker_threads_`
is read before incrementing `done_workers`. See the comments
added in this PR to explain why, and why the resulting code is
race-free.
2026-03-24 22:20:18 +00:00

4.0 KiB