FileDocCategorySizeDatePackage
ThreadStoppers.javaAPI DocExample330Sat Nov 25 12:49:08 GMT 2000None

ThreadStoppers

public class ThreadStoppers extends Object

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] args)

		Thread t1 = new StopBoolean();
		Thread t2 = new StopClose();
		t1.start();
		t2.start();
		Thread.sleep(1000*5);
		((StopBoolean)t1).shutDown();
		((StopClose  )t2).shutDown();