[PATCH] D18811: Fix a race condition in support library ThreadPool

Jason Henline via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 6 15:29:37 PDT 2016


jhen added a comment.

To clarify further. The race can occur without submitting tasks while waiting, there just has to be a task in the queue at the time the `wait` is called. That task would have been enqueued before the call to `wait`.


http://reviews.llvm.org/D18811





More information about the llvm-commits mailing list