Th3 Posted January 21, 2016 Share Posted January 21, 2016 (edited) If you dare to play save all your work first. Run the following and report back the last number you see. Highest number wins. Mine was 50585. public class NumberGameOfDeath { private static Object s = new Object(); private static int count = 0; public static void main(String[] argv) { for (; ; ) { new Thread(new Runnable() { public void run() { synchronized (s) { count += 1; System.err.println("New thread #" + count); } for (; ; ) { try { Thread.sleep(1000); } catch (Exception e) { System.err.println(e); } } } }).start(); } } } If you don't know how to run it. Then go learn it bitch. Take a picture of it if you can. Edited January 21, 2016 by Th3 1 Quote Link to comment Share on other sites More sharing options...
Inbredd Posted January 21, 2016 Share Posted January 21, 2016 So how do i play Quote Link to comment Share on other sites More sharing options...
Okabe Posted January 21, 2016 Share Posted January 21, 2016 how long does this take since its still running? 1 Quote Link to comment Share on other sites More sharing options...
Stress Posted January 25, 2016 Share Posted January 25, 2016 wat 1 Quote Link to comment Share on other sites More sharing options...
Okabe Posted January 26, 2016 Share Posted January 26, 2016 late but here 1 Quote Link to comment Share on other sites More sharing options...