Synchronized block is now working. A simple test is passed.
authorjzhou <jzhou>
Thu, 14 Oct 2010 17:51:15 +0000 (17:51 +0000)
committerjzhou <jzhou>
Thu, 14 Oct 2010 17:51:15 +0000 (17:51 +0000)
Robust/src/Runtime/bamboo/multicoreruntime.c

index 154c4d3b72701a42e830221fe1be7433a88703f3..ad9567370ae42afd596444b2a5778cf5837e976b 100644 (file)
@@ -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) {