public class SchemeThread extends Value implements java.lang.Runnable, NamedValue
Modifier and Type | Field and Description |
---|---|
DynamicEnvironment |
env |
static int |
FINISHED |
static int |
FINISHED_ABNORMALLY |
static int |
READY |
static int |
RUNNING |
Value |
rv |
static java.lang.ThreadGroup |
schemeThreads |
int |
state |
java.lang.Thread |
thread |
ThreadContext |
threadContext |
Procedure |
thunk |
annotations, EMPTYSET
BACKQUOTE, BEGIN, bundles, caseSensitive, EMPTYLIST, EMPTYVEC, EOF, ERRORK, EVAL, EXPSC, EXPTOP, FALSE, FCONT, FIVE, JEXCEPTION, LAMBDA, LOCATION, maxFloatPrecision, MESSAGE, minFloatPrecision, NAME, OTHER, PARENT, permitInterrupts, QUOTE, QUOTESYM, REPORT, SETBANG, SISC, SISC_SPECIFIC, SISCB, SOURCE_COLUMN, SOURCE_FILE, SOURCE_LINE, SYMENV, THIS, TOPLEVEL, TRUE, UNQUOTE, UNQUOTE_SPLICING, VOID, ZV
Constructor and Description |
---|
SchemeThread(DynamicEnvironment dynenv,
Procedure thunk) |
Modifier and Type | Method and Description |
---|---|
void |
display(ValueWriter w) |
Value |
getResult(Interpreter r) |
int |
getState() |
void |
run() |
void |
start() |
apply, displayNamedOpaque, equals, eqv, eval, express, getValue, synopsis, synopsis, toString, valueEqual, valueHashCode, write, writeReplace
deserialize, deserializeAnnotations, getAnnotation, getAnnotation, getAnnotationKeys, getAnnotations, getName, readExternal, readResolve, serialize, serializeAnnotations, setAnnotation, setAnnotation, setName, visit, visitAnnotations, writeExternal
annotated, annotatedAppEval, append, argCheck, argsToSymbols, assq, bininport, bininstream, binoutport, binoutstream, box, character, charinport, charinreader, charoutport, charoutwriter, charsetFromString, chr, cont, currentClassLoader, env, error, error, error, error, error, error, error, expr, getDefaultCharacterSet, immutablePair, immutableVector, inport, javaExceptionToString, javaWrap, justify, length, liMessage, liMessage, liMessage, liMessage, liMessage, liMessage, liMessage, list, list, list, list, list, makeURL, mapcar, memq, nlib, num, outport, pair, pairToExpressions, pairToExpVect, pairToValues, proc, read, registerBundle, reverse, reverseInPlace, simpleErrorToString, sourceAnnotations, str, string, sym, symbol, symval, truePair, truth, truth, typeError, typeError, updateName, url, url, url, valArrayToList, valArrayToList, valArrayToVec, vec, warn, warn, warn
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getName, setName
public static final int READY
public static final int RUNNING
public static final int FINISHED
public static final int FINISHED_ABNORMALLY
public static final java.lang.ThreadGroup schemeThreads
public DynamicEnvironment env
public Procedure thunk
public java.lang.Thread thread
public ThreadContext threadContext
public int state
public Value rv
public SchemeThread(DynamicEnvironment dynenv, Procedure thunk)
public Value getResult(Interpreter r) throws ContinuationException
ContinuationException
public int getState()
public void start()
public void run()
run
in interface java.lang.Runnable
public void display(ValueWriter w) throws java.io.IOException