edu.trinity.cs.bmassing.threads
Class HelloSynch2

java.lang.Object
  extended by edu.trinity.cs.bmassing.threads.HelloSynch2

public class HelloSynch2
extends java.lang.Object

Simple synchronization example, version 2. Threads perform I/O with delays, introducing need to ensure one-at-a-time access to System.out. Incorrect synchronization, so this should come out "wrong". Command-line argument specifies number of threads.


Constructor Summary
HelloSynch2()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HelloSynch2

public HelloSynch2()
Method Detail

main

public static void main(java.lang.String[] args)