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
Simplify parameter passing between EngineImpl and ContextFactory
[simgrid.git]
/
src
/
kernel
/
context
/
ContextThread.hpp
diff --git
a/src/kernel/context/ContextThread.hpp
b/src/kernel/context/ContextThread.hpp
index
a61a9f9
..
6602a1f
100644
(file)
--- a/
src/kernel/context/ContextThread.hpp
+++ b/
src/kernel/context/ContextThread.hpp
@@
-54,7
+54,7
@@
public:
{
}
- static void run_all();
+ static void run_all(
std::vector<actor::ActorImpl*> const& actors_list
);
};
class ParallelThreadContext : public ThreadContext {
@@
-66,7
+66,7
@@
public:
static void initialize();
static void finalize();
- static void run_all();
+ static void run_all(
std::vector<actor::ActorImpl*> const& actors_list
);
private:
static xbt::OsSemaphore* thread_sem_;
@@
-86,7
+86,7
@@
public:
bool maestro = not code;
return create_context(std::move(code), actor, maestro);
}
- void run_all() override;
+ void run_all(
std::vector<actor::ActorImpl*> const& actors
) override;
// Optional methods:
ThreadContext* attach(actor::ActorImpl* actor) override