A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bug fix (found by Cyril Banino).
[simgrid.git]
/
src
/
msg
/
gos.c
diff --git
a/src/msg/gos.c
b/src/msg/gos.c
index
76d4dac
..
a774a0f
100644
(file)
--- a/
src/msg/gos.c
+++ b/
src/msg/gos.c
@@
-53,7
+53,10
@@
static MSG_error_t __MSG_task_get_with_time_out_from_host(m_task_t * task,
xbt_fifo_foreach(h->simdata->mbox[channel],item,t,m_task_t) {
if(t->simdata->source==host) break;
}
- if(item) break;
+ if(item) {
+ xbt_fifo_remove_item(h->simdata->mbox[channel],item);
+ break;
+ }
}
}