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
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
[simgrid.git]
/
src
/
simix
/
smx_smurf.c
diff --git
a/src/simix/smx_smurf.c
b/src/simix/smx_smurf.c
index
f3ebc52
..
d5a93fc
100644
(file)
--- a/
src/simix/smx_smurf.c
+++ b/
src/simix/smx_smurf.c
@@
-558,6
+558,7
@@
void SIMIX_simcall_pre(smx_simcall_t simcall, int value)
SIMIX_simcall_answer(simcall);
break;
SIMIX_simcall_answer(simcall);
break;
+#ifdef HAVE_MC
case SIMCALL_MC_SNAPSHOT:
simcall->mc_snapshot.s = MC_take_snapshot_liveness();
SIMIX_simcall_answer(simcall);
case SIMCALL_MC_SNAPSHOT:
simcall->mc_snapshot.s = MC_take_snapshot_liveness();
SIMIX_simcall_answer(simcall);
@@
-568,7
+569,8
@@
void SIMIX_simcall_pre(smx_simcall_t simcall, int value)
snapshot_compare(simcall->mc_compare_snapshots.snapshot1, simcall->mc_compare_snapshots.snapshot2);
SIMIX_simcall_answer(simcall);
break;
snapshot_compare(simcall->mc_compare_snapshots.snapshot1, simcall->mc_compare_snapshots.snapshot2);
SIMIX_simcall_answer(simcall);
break;
-
+#endif /* HAVE_MC */
+
case SIMCALL_NONE:
THROWF(arg_error,0,"Asked to do the noop syscall on %s@%s",
SIMIX_process_get_name(simcall->issuer),
case SIMCALL_NONE:
THROWF(arg_error,0,"Asked to do the noop syscall on %s@%s",
SIMIX_process_get_name(simcall->issuer),