orc.lib.util
Class Thread

java.lang.Object
  extended by orc.runtime.values.Value
      extended by orc.runtime.sites.Site
          extended by orc.runtime.sites.EvalSite
              extended by orc.lib.util.Thread
All Implemented Interfaces:
Callable, Future

public class Thread
extends EvalSite

Wrap a site call in a thread. This is useful if you have a Java site which may be uncooperative.

Author:
quark

Constructor Summary
Thread()
           
 
Method Summary
 Value evaluate(Args args)
           
 
Methods inherited from class orc.runtime.sites.EvalSite
callSite
 
Methods inherited from class orc.runtime.sites.Site
accept, createCall
 
Methods inherited from class orc.runtime.values.Value
forceArg, forceCall, head, isCons, isNil, isNone, isSome, signal, tail, untag
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Thread

public Thread()
Method Detail

evaluate

public Value evaluate(Args args)
               throws TokenException
Specified by:
evaluate in class EvalSite
Throws:
TokenException