All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class prolog.JITThread

java.lang.Object
   |
   +----prolog.JITThread

public final class JITThread
extends Object
implements QueueConsumer, Runnable, Serializable
Accepts jobs and executes them. Used to support a separate thread for the compiler, if it's worthwhile.

See Also:
PredicateCodeGen

Constructor Index

 o JITThread()
 o JITThread(Queue)

Method Index

 o consume(Object)
If we're not threaded, compile objects when they're handed to us, blocking the interpreter while doing so.
 o run()
If we're threaded, wait for a job to do, then do it.

Constructors

 o JITThread
 JITThread()
 o JITThread
 JITThread(Queue q)

Methods

 o consume
 public void consume(Object o)
If we're not threaded, compile objects when they're handed to us, blocking the interpreter while doing so.

 o run
 public void run()
If we're threaded, wait for a job to do, then do it.


All Packages  Class Hierarchy  This Package  Previous  Next  Index