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
Try to improve getline portability...
[simgrid.git]
/
src
/
msg
/
gos.c
diff --git
a/src/msg/gos.c
b/src/msg/gos.c
index
fc58b2b
..
5e1a703
100644
(file)
--- a/
src/msg/gos.c
+++ b/
src/msg/gos.c
@@
-44,9
+44,9
@@
MSG_error_t MSG_task_execute(m_task_t task)
CHECK_HOST();
simdata = task->simdata;
CHECK_HOST();
simdata = task->simdata;
- xbt_assert
0
((!simdata->compute)
+ xbt_assert
1
((!simdata->compute)
&& (task->simdata->refcount == 1),
&& (task->simdata->refcount == 1),
- "This task is executed somewhere else. Go fix your code!
"
);
+ "This task is executed somewhere else. Go fix your code!
%d", task->simdata->refcount
);
DEBUG1("Computing on %s", MSG_process_self()->simdata->m_host->name);
DEBUG1("Computing on %s", MSG_process_self()->simdata->m_host->name);