projects
/
IRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
676660d
)
Synchronized block is now working. A simple test is passed.
author
jzhou
<jzhou>
Thu, 14 Oct 2010 17:51:15 +0000
(17:51 +0000)
committer
jzhou
<jzhou>
Thu, 14 Oct 2010 17:51:15 +0000
(17:51 +0000)
Robust/src/Runtime/bamboo/multicoreruntime.c
patch
|
blob
|
history
diff --git
a/Robust/src/Runtime/bamboo/multicoreruntime.c
b/Robust/src/Runtime/bamboo/multicoreruntime.c
index 154c4d3b72701a42e830221fe1be7433a88703f3..ad9567370ae42afd596444b2a5778cf5837e976b 100644
(file)
--- 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) {