jeeconf-May2013-concurrency
jeeconf-May2013-concurrency
jeeconf-May2013-concurrency
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Дело о бешеном потоке: #2<br />
Вах, вытаскиваем предикат в отдельный метод:<br />
Thread t1; Thread t2;<br />
def check() = T.cT().isInterrupted();<br />
while (!check()); t1.interrupt();<br />
3 он же «серверный компилятор»<br />
Slide 33/73. Copyright c○ 2013, Oracle and/or its affiliates. All rights reserved.