FileDocCategorySizeDatePackage
SimpleScheduler.javaAPI DocExample1616Thu Feb 04 16:10:38 GMT 1999None

SimpleScheduler

public class SimpleScheduler extends Thread

Fields Summary
int
timeslice
Constructors Summary
public SimpleScheduler(int t)

		timeslice = t;
		setPriority(Thread.MAX_PRIORITY);
		setDaemon(true);
	
Methods Summary
public voidrun()

		while (true)
			try {
				sleep(timeslice);
			} catch (Exception e) {}