projects
/
IRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b65ae3
)
bug fix
author
bdemsky
<bdemsky>
Fri, 5 Nov 2010 16:42:04 +0000
(16:42 +0000)
committer
bdemsky
<bdemsky>
Fri, 5 Nov 2010 16:42:04 +0000
(16:42 +0000)
Robust/src/Runtime/mlp_runtime.c
patch
|
blob
|
history
diff --git
a/Robust/src/Runtime/mlp_runtime.c
b/Robust/src/Runtime/mlp_runtime.c
index 1696e6983460a1a5efacc2dc3c59aa6f2fb21b5e..db756382d8bac8cd3b69f71cf64915a8b9b11d7b 100644
(file)
--- a/
Robust/src/Runtime/mlp_runtime.c
+++ b/
Robust/src/Runtime/mlp_runtime.c
@@
-820,6
+820,7
@@
void resolveDependencies(REntry* rentry){
int index=-1;
while(mask!=0) {
int shift=__builtin_ctzll(mask)+1;
+ mask=mask>>shift;
index+=shift;
if(atomic_sub_and_test(1, &array[index].flag)) {
if(atomic_sub_and_test(1, &(seseCommon->unresolvedDependencies)))