2006-07-17から1日間の記事一覧
並列プログラミングTips http://www.netgene.co.jp/java/concurrentTips.html
動かしたけど、なんか挙動が変。。 public class NoVisibility { private static boolean ready; private static int number; private static class ReaderThread extends Thread { public void run() { while (!ready) Thread.yield(); System.out.println(…