FileDocCategorySizeDatePackage
SimpleScheduler.javaAPI DocExample730Tue Jan 28 17:24:16 GMT 1997None

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) {}