From: jzhou Date: Thu, 14 Oct 2010 17:51:15 +0000 (+0000) Subject: Synchronized block is now working. A simple test is passed. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=46440e208094669a07ee1470f4017b16d4cb6b45;p=IRC.git Synchronized block is now working. A simple test is passed. --- diff --git a/Robust/src/Runtime/bamboo/multicoreruntime.c b/Robust/src/Runtime/bamboo/multicoreruntime.c index 154c4d3b..ad956737 100644 --- a/Robust/src/Runtime/bamboo/multicoreruntime.c +++ b/Robust/src/Runtime/bamboo/multicoreruntime.c @@ -645,8 +645,10 @@ inline void run(int argc, char** argv) { // if yes, enqueue them and executetasks again tocontinue = checkObjQueue(); #elif defined MGC - trystartthread(); - tocontinue = false; + tocontinue = trystartthread(); + if(tocontinue) { + sendStall = false; + } #endif if(!tocontinue) {