Synchronized block is now working. A simple test is passed.
[IRC.git] / 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) {