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
Fully initialize struct, and please valgrind.
[simgrid.git]
/
src
/
kernel
/
context
/
ContextThread.cpp
diff --git
a/src/kernel/context/ContextThread.cpp
b/src/kernel/context/ContextThread.cpp
index
a2b2165
..
991e60a
100644
(file)
--- a/
src/kernel/context/ContextThread.cpp
+++ b/
src/kernel/context/ContextThread.cpp
@@
-203,7
+203,7
@@
void ThreadContext::stop()
xbt_os_sem_release(this->end_);
#ifndef WIN32
- stack_t stack;
+ stack_t stack
= {0}
;
stack.ss_flags = SS_DISABLE;
sigaltstack(&stack, nullptr);
#endif