output.println("transstart"+faen.getIdentifier()+":");
output.println("transStart();");
- if (state.ABORTREADERS) {
+ if (state.ABORTREADERS||state.SANDBOX) {
output.println("if (_setjmp(aborttrans)) {");
output.println(" goto transretry"+faen.getIdentifier()+"; }");
}
public static boolean ABORTREADERS=false;
public static boolean SINGLETM=false;
public static boolean READSET=false;
+ public boolean SANDBOX=false;
public int CORENUM = 1;
public String structfile;
public String main;
state.TASK=true;
else if (option.equals("-abortreaders"))
state.ABORTREADERS=true;
+ else if (option.equals("-sandbox"))
+ state.SANDBOX=true;
else if (option.equals("-taskstate"))
state.TASKSTATE=true;
else if (option.equals("-tagstate"))