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
Implement a (cheap) ActorImpl::is_maestro()
[simgrid.git]
/
src
/
kernel
/
context
/
ContextThread.cpp
diff --git
a/src/kernel/context/ContextThread.cpp
b/src/kernel/context/ContextThread.cpp
index
53c0ba8
..
eb2c6c0
100644
(file)
--- a/
src/kernel/context/ContextThread.cpp
+++ b/
src/kernel/context/ContextThread.cpp
@@
-60,7
+60,7
@@
void ThreadContextFactory::run_all()
// ThreadContext
ThreadContext::ThreadContext(std::function<void()>&& code, actor::ActorImpl* actor, bool maestro)
// ThreadContext
ThreadContext::ThreadContext(std::function<void()>&& code, actor::ActorImpl* actor, bool maestro)
- : AttachContext(std::move(code), actor
), is_maestro_(
maestro)
+ : AttachContext(std::move(code), actor
,
maestro)
{
/* If the user provided a function for the actor then use it */
if (has_code()) {
{
/* If the user provided a function for the actor then use it */
if (has_code()) {