Make reqtype field volatile (merge from branch helma_1_4)
This commit is contained in:
parent
9f842e8c5d
commit
a77a6cf602
1 changed files with 7 additions and 2 deletions
|
@ -40,8 +40,14 @@ public final class RequestEvaluator implements Runnable {
|
||||||
protected ScriptingEngine scriptingEngine;
|
protected ScriptingEngine scriptingEngine;
|
||||||
public RequestTrans req;
|
public RequestTrans req;
|
||||||
public ResponseTrans res;
|
public ResponseTrans res;
|
||||||
|
|
||||||
|
// the one and only transactor thread
|
||||||
volatile Transactor rtx;
|
volatile Transactor rtx;
|
||||||
|
|
||||||
|
// the type of request to be serviced,
|
||||||
|
// used to coordinate worker and waiter threads
|
||||||
|
volatile int reqtype;
|
||||||
|
|
||||||
// the object on which to invoke a function, if specified
|
// the object on which to invoke a function, if specified
|
||||||
Object thisObject;
|
Object thisObject;
|
||||||
|
|
||||||
|
@ -63,8 +69,7 @@ public final class RequestEvaluator implements Runnable {
|
||||||
// the exception thrown by the evaluator, if any.
|
// the exception thrown by the evaluator, if any.
|
||||||
Exception exception;
|
Exception exception;
|
||||||
|
|
||||||
// the type of request to be serviced
|
// skin depth counter, used to avoid recursive skin rendering
|
||||||
int reqtype;
|
|
||||||
protected int skinDepth;
|
protected int skinDepth;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue