From: bdemsky Date: Fri, 8 Apr 2011 22:59:14 +0000 (+0000) Subject: change... X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=0042780ca746895ceb55c79e50bdcb58531fea55;p=IRC.git change... --- diff --git a/Robust/src/IR/Flat/RuntimeConflictResolver.java b/Robust/src/IR/Flat/RuntimeConflictResolver.java index f2ccd80e..63aee58d 100644 --- a/Robust/src/IR/Flat/RuntimeConflictResolver.java +++ b/Robust/src/IR/Flat/RuntimeConflictResolver.java @@ -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");