# | Line 1265 | Line 1265 | public class AbstractQueuedLongSynchroni | |
---|---|---|
1265 | ||
1266 | // A synchronizer only offering a choice of failure modes | |
1267 | class Sync extends AbstractQueuedLongSynchronizer { | |
1268 | < | boolean pleaseThrow; |
1268 | > | volatile boolean pleaseThrow; |
1269 | @Override protected boolean tryAcquire(long ignored) { | |
1270 | if (pleaseThrow) throw ex; | |
1271 | return false; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |