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
Kill a parameter that was always nullptr
[simgrid.git]
/
src
/
kernel
/
context
/
ContextThread.cpp
diff --git
a/src/kernel/context/ContextThread.cpp
b/src/kernel/context/ContextThread.cpp
index
cf17829
..
c6901c9
100644
(file)
--- a/
src/kernel/context/ContextThread.cpp
+++ b/
src/kernel/context/ContextThread.cpp
@@
-84,9
+84,7
@@
void ThreadContext::wrapper(ThreadContext* context)
{
Context::set_current(context);
-#ifndef WIN32
- install_sigsegv_stack(nullptr, true);
-#endif
+ install_sigsegv_stack(true);
// Tell the caller (normally the maestro) we are starting, and wait for its green light
context->end_.release();
context->start();
@@
-105,9
+103,7
@@
void ThreadContext::wrapper(ThreadContext* context)
// Signal to the caller (normally the maestro) that we have finished:
context->yield();
-#ifndef WIN32
- install_sigsegv_stack(nullptr, false);
-#endif
+ install_sigsegv_stack(false);
XBT_DEBUG("Terminating");
Context::set_current(nullptr);
}