}
if(state.MGC) {
outclassdefs.println(" int mutex;");
+ outclassdefs.println(" volatile int notifycount;");
outclassdefs.println(" int objlock;");
if(state.MULTICOREGC) {
outclassdefs.println(" int marked;");
}
if(state.MGC) {
outclassdefs.println(" int mutex;");
+ outclassdefs.println(" volatile int notifycount;");
outclassdefs.println(" int objlock;");
if(state.MULTICOREGC) {
outclassdefs.println(" int marked;");
classdefout.println(" void * lockentry;");
classdefout.println(" int lockcount;");
}
- classdefout.println(" int mutex;");
- classdefout.println(" int objlock;");
- if(state.MULTICOREGC) {
- classdefout.println(" int marked;");
+ if (state.MGC) {
+ classdefout.println(" int mutex;");
+ classdefout.println(" volatile int notifycount;");
+ classdefout.println(" int objlock;");
+ if(state.MULTICOREGC) {
+ classdefout.println(" int marked;");
+ }
}
if (state.TASK) {
classdefout.println(" int flag;");