org.xwt
Class Scheduler

java.lang.Object
  extended byorg.xwt.Scheduler

public class Scheduler
extends java.lang.Object

Implements cooperative multitasking


Nested Class Summary
static class Scheduler.Task
           
 
Field Summary
protected static Queue runnable
           
static Scheduler singleton
           
 
Constructor Summary
protected Scheduler()
           
 
Method Summary
static void add(Scheduler.Task t)
           
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

singleton

public static final Scheduler singleton

runnable

protected static Queue runnable
Constructor Detail

Scheduler

protected Scheduler()
Method Detail

add

public static void add(Scheduler.Task t)

run

public void run()