[PATCH] D18811: Fix a race condition in support library ThreadPool
Mehdi Amini via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 6 15:32:54 PDT 2016
Sent from my iPhone
> On Apr 6, 2016, at 3:29 PM, Jason Henline <jhen at google.com> wrote:
>
> 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`.
That's how I understood the original description.
>
>
> http://reviews.llvm.org/D18811
>
>
>
More information about the llvm-commits
mailing list