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
Improve context termination.
[simgrid.git]
/
src
/
kernel
/
context
/
Context.hpp
diff --git
a/src/kernel/context/Context.hpp
b/src/kernel/context/Context.hpp
index
8102fb1
..
41e1f8f
100644
(file)
--- a/
src/kernel/context/Context.hpp
+++ b/
src/kernel/context/Context.hpp
@@
-80,6
+80,8
@@
namespace context {
void_pfn_smxprocess_t cleanup_func_ = nullptr;
smx_actor_t process_ = nullptr;
public:
+ class StopRequest {
+ };
bool iwannadie;
Context(std::function<void()> code,