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
rename a method to stick to our naming conventions
[simgrid.git]
/
src
/
simix
/
smx_synchro.cpp
diff --git
a/src/simix/smx_synchro.cpp
b/src/simix/smx_synchro.cpp
index
b8eff39
..
de245a8
100644
(file)
--- a/
src/simix/smx_synchro.cpp
+++ b/
src/simix/smx_synchro.cpp
@@
-82,9
+82,9
@@
void SIMIX_post_synchro(smx_synchro_t synchro)
{
XBT_IN("(%p)",synchro);
xbt_assert(synchro->type == SIMIX_SYNC_SYNCHRO);
- if (synchro->synchro.sleep->getState() ==
SURF_ACTION_FAILED
)
+ if (synchro->synchro.sleep->getState() ==
simgrid::surf::Action::State::failed
)
synchro->state = SIMIX_FAILED;
- else if(synchro->synchro.sleep->getState() ==
SURF_ACTION_DONE
)
+ else if(synchro->synchro.sleep->getState() ==
simgrid::surf::Action::State::done
)
synchro->state = SIMIX_SRC_TIMEOUT;
SIMIX_synchro_finish(synchro);