# | Line 1316 | Line 1316 | public class AbstractQueuedSynchronizerT | |
---|---|---|
1316 | ||
1317 | // A synchronizer only offering a choice of failure modes | |
1318 | class Sync extends AbstractQueuedSynchronizer { | |
1319 | < | boolean pleaseThrow; |
1319 | > | volatile boolean pleaseThrow; |
1320 | @Override protected boolean tryAcquire(int ignored) { | |
1321 | if (pleaseThrow) throw ex; | |
1322 | return false; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |