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
obey sonar and make SwappedContext::stack_ private
[simgrid.git]
/
src
/
kernel
/
context
/
ContextSwapped.cpp
diff --git
a/src/kernel/context/ContextSwapped.cpp
b/src/kernel/context/ContextSwapped.cpp
index
a270f90
..
b550205
100644
(file)
--- a/
src/kernel/context/ContextSwapped.cpp
+++ b/
src/kernel/context/ContextSwapped.cpp
@@
-140,6
+140,11
@@
void SwappedContext::set_maestro(SwappedContext* ctx)
factory_->workers_context_[0] = ctx;
}
+void* SwappedContext::get_stack()
+{
+ return stack_;
+}
+
void SwappedContext::stop()
{
Context::stop();