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 cleanup in contexts' stop().
[simgrid.git]
/
src
/
kernel
/
context
/
ContextRaw.cpp
diff --git
a/src/kernel/context/ContextRaw.cpp
b/src/kernel/context/ContextRaw.cpp
index
00c6008
..
244fdd4
100644
(file)
--- a/
src/kernel/context/ContextRaw.cpp
+++ b/
src/kernel/context/ContextRaw.cpp
@@
-293,8
+293,8
@@
void RawContext::wrapper(void* arg)
RawContext* context = static_cast<RawContext*>(arg);
try {
(*context)();
- context->stop();
- } catch (StopRequest) {
+ context->
Context::
stop();
+ } catch (StopRequest
const&
) {
XBT_DEBUG("Caught a StopRequest");
}
context->suspend();