Fix concurrent access to work_done flag.
This should have been fine without the atomic property (as it is only a single writer and multiple readers to a single bit). Nevertheless we fixed the 'race' to remove a warning in the thread sanitizer.
Showing
Please
register
or
sign in
to comment