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 an unused function
[simgrid.git]
/
src
/
simix
/
ActorImpl.cpp
diff --git
a/src/simix/ActorImpl.cpp
b/src/simix/ActorImpl.cpp
index
9f72900
..
37547d7
100644
(file)
--- a/
src/simix/ActorImpl.cpp
+++ b/
src/simix/ActorImpl.cpp
@@
-36,7
+36,7
@@
smx_actor_t SIMIX_process_self()
{
smx_context_t self_context = simgrid::kernel::context::Context::self();
- return (self_context != nullptr) ? self_context->
process
() : nullptr;
+ return (self_context != nullptr) ? self_context->
get_actor
() : nullptr;
}
/**
@@
-312,12
+312,6
@@
void create_maestro(simgrid::simix::ActorCode code)
}
}
-/** @brief Creates and runs the maestro process */
-void SIMIX_maestro_create(void (*code)(void*), void* data)
-{
- simgrid::kernel::actor::create_maestro(std::bind(code, data));
-}
-
/**
* @brief Internal function to create a process.
*
@@
-430,7
+424,7
@@
void SIMIX_process_detach()
if (context == nullptr)
xbt_die("Not a suitable context");
- SIMIX_process_cleanup(context->
process
());
+ SIMIX_process_cleanup(context->
get_actor
());
context->attach_stop();
}