-
Ludovic Fauvet authored
The barrier needs to be reset after an InterruptedException, but sadly we can't do that safely in the catch block. And because doing a reset on a sane barrier is perfectly valid we'll do it at the beginning of each loop.
a4a3e5ed