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 https://framagit.org/simgrid/simgrid
[simgrid.git]
/
src
/
mc
/
api
/
ActorState.hpp
diff --git
a/src/mc/api/ActorState.hpp
b/src/mc/api/ActorState.hpp
index
9f29307
..
eda2808
100644
(file)
--- a/
src/mc/api/ActorState.hpp
+++ b/
src/mc/api/ActorState.hpp
@@
-94,7
+94,7
@@
public:
unsigned int do_consider()
{
if (max_consider_ <= times_considered_ + 1)
unsigned int do_consider()
{
if (max_consider_ <= times_considered_ + 1)
-
set
_done();
+
mark
_done();
return times_considered_++;
}
unsigned int get_times_considered() const { return times_considered_; }
return times_considered_++;
}
unsigned int get_times_considered() const { return times_considered_; }
@@
-112,7
+112,7
@@
public:
this->state_ = InterleavingType::todo;
this->times_considered_ = 0;
}
this->state_ = InterleavingType::todo;
this->times_considered_ = 0;
}
- void
set
_done() { this->state_ = InterleavingType::done; }
+ void
mark
_done() { this->state_ = InterleavingType::done; }
inline Transition* get_transition(unsigned times_considered)
{
inline Transition* get_transition(unsigned times_considered)
{