373374375376377378379380381382383
private void foo() throws InterruptedException, SuspendExecution { Object token = cond.register(); try { for (int i = 0; !flag.get(); i++) cond.await(i); } finally { cond.unregister(token); } } }).start();
418419420421422423424425426427428
149150151152153154155156157158159
final SimpleConditionSynchronizer s = sync; if (s != null) { Object token = s.register(); try { for (int i = 0; sync != null; i++) s.await(i); } finally { s.unregister(token); } } if (t != null)
7172737475767778798081
final SimpleConditionSynchronizer s = sync; if (s != null) { Object token = s.register(); try { for (int i = 0; sync != null; i++) s.await(i); } finally { s.unregister(token); } } return value;
5455565758596061626364
final SimpleConditionSynchronizer s = sync; if (s != null) { s.register(); try { for (int i = 0; sync != null; i++) s.await(i); } finally { s.unregister(); } } return value;
5758596061626364656667
158159160161162163164165166167168