265 |
|
* |
266 |
|
* <p>If the barrier is {@link #reset} while any thread is waiting, or if |
267 |
|
* the barrier {@link #isBroken is broken} when <tt>await</tt> is invoked, |
268 |
< |
* or whilst any thread is waiting, |
268 |
> |
* or while any thread is waiting, |
269 |
|
* then {@link BrokenBarrierException} is thrown. |
270 |
|
* |
271 |
|
* <p>If any thread is {@link Thread#interrupt interrupted} while waiting, |
327 |
|
* |
328 |
|
* <p>If the barrier is {@link #reset} while any thread is waiting, or if |
329 |
|
* the barrier {@link #isBroken is broken} when <tt>await</tt> is invoked, |
330 |
< |
* or whilst any thread is waiting, |
330 |
> |
* or while any thread is waiting, |
331 |
|
* then {@link BrokenBarrierException} is thrown. |
332 |
|
* |
333 |
|
* <p>If any thread is {@link Thread#interrupt interrupted} while waiting, |