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
More information on actor death in monkey's test case
[simgrid.git]
/
src
/
kernel
/
context
/
Context.cpp
diff --git
a/src/kernel/context/Context.cpp
b/src/kernel/context/Context.cpp
index
51dd90b
..
b20d786
100644
(file)
--- a/
src/kernel/context/Context.cpp
+++ b/
src/kernel/context/Context.cpp
@@
-141,6
+141,11
@@
void Context::stop()
this->actor_->cleanup();
}
+void Context::set_wannadie(bool value)
+{
+ XBT_DEBUG("Actor %s gonna die.", actor_->get_cname());
+ iwannadie_ = value;
+}
AttachContext::~AttachContext() = default;
} // namespace context