From 0042780ca746895ceb55c79e50bdcb58531fea55 Mon Sep 17 00:00:00 2001 From: bdemsky Date: Fri, 8 Apr 2011 22:59:14 +0000 Subject: [PATCH] change... --- Robust/src/IR/Flat/RuntimeConflictResolver.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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"); -- 2.34.1