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
model-checker : fix dpor algorithm
[simgrid.git]
/
src
/
mc
/
mc_state.c
diff --git
a/src/mc/mc_state.c
b/src/mc/mc_state.c
index
822d17a
..
39eef8a
100644
(file)
--- a/
src/mc/mc_state.c
+++ b/
src/mc/mc_state.c
@@
-51,6
+51,12
@@
void MC_state_interleave_process(mc_state_t state, smx_process_t process)
state->proc_status[process->pid].interleave_count = 0;
}
state->proc_status[process->pid].interleave_count = 0;
}
+void MC_state_remove_interleave_process(mc_state_t state, smx_process_t process)
+{
+ if(state->proc_status[process->pid].state == MC_INTERLEAVE)
+ state->proc_status[process->pid].state = MC_DONE;
+}
+
unsigned int MC_state_interleave_size(mc_state_t state)
{
unsigned int i, size=0;
unsigned int MC_state_interleave_size(mc_state_t state)
{
unsigned int i, size=0;