change...
authorbdemsky <bdemsky>
Fri, 8 Apr 2011 22:59:14 +0000 (22:59 +0000)
committerbdemsky <bdemsky>
Fri, 8 Apr 2011 22:59:14 +0000 (22:59 +0000)
Robust/src/IR/Flat/RuntimeConflictResolver.java

index f2ccd80ed165ea41280b7dc6c3fec4255f2aca59..63aee58ddab67e8293be8062fc289fbf4fbc2b1d 100644 (file)
@@ -387,8 +387,7 @@ public class RuntimeConflictResolver {
     cFile.append(              "record->common.doneExecuting == FALSE ) ) {\n");
     cFile.append("  // first abort this traversal, doesn't matter what the flag is because\n");
     cFile.append("  // the traverser is not going to clear the task, it's already running...\n");
-    cFile.append("  int flag = LOCKXCHG32( &(record->rcrRecords["+rcrRecordIndex+"].flag), 0 );\n");
-    cFile.append("  \n");
+    cFile.println("     record->rcrstatus=0;");
     cFile.append("  // just wait for the the task to retire...\n");
     cFile.append("  while( record->common.doneExecuting == FALSE ) {\n");
     cFile.append("    BARRIER();\n");