|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object sisc.util.Util sisc.interpreter.ThreadContext
public class ThreadContext
Nested Class Summary | |
---|---|
static class |
ThreadContext.State
|
Field Summary | |
---|---|
java.lang.ref.WeakReference |
hostThread
|
boolean |
interrupt
|
protected java.util.Random |
r
|
protected java.util.Stack |
states
|
long |
unicityMajor
|
char |
unicityMinor
|
Fields inherited from class sisc.util.Util |
---|
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 |
Fields inherited from interface sisc.util.Version |
---|
VERSION |
Constructor Summary | |
---|---|
ThreadContext()
|
Method Summary | |
---|---|
Interpreter |
currentInterpreter()
state stack maintenance |
Interpreter |
currentInterpreter(AppContext ctx)
|
protected long |
genUnicityMajor()
Unique Value Support |
java.lang.Thread |
nativeThread()
|
long |
nextUnique()
|
protected ThreadContext.State |
popState()
|
protected void |
pushState(ThreadContext.State s)
|
void |
setHostThread(DynamicEnvironment dynenv,
java.lang.Thread thread)
|
Methods inherited from class sisc.util.Util |
---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.Stack states
protected java.util.Random r
public java.lang.ref.WeakReference hostThread
public boolean interrupt
public long unicityMajor
public char unicityMinor
Constructor Detail |
---|
public ThreadContext()
Method Detail |
---|
protected long genUnicityMajor()
public long nextUnique()
public Interpreter currentInterpreter()
public Interpreter currentInterpreter(AppContext ctx)
protected void pushState(ThreadContext.State s)
protected ThreadContext.State popState()
public java.lang.Thread nativeThread()
public void setHostThread(DynamicEnvironment dynenv, java.lang.Thread thread)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |