You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do not use threadpool->ec (exit code) to decide whether to exit the compute loop.
threadpool->ec is not atomic which makes thread-sanitizer rightfully unhappy about it.
We already have an atomic threadpool->stop flag for this which is consitent with the
rest of the code.
While at it add an explicit atomic_load for n_threads_cur for consistency.
0 commit comments