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
a bit of simplification
[simgrid.git]
/
src
/
simix
/
ActorImpl.cpp
diff --git
a/src/simix/ActorImpl.cpp
b/src/simix/ActorImpl.cpp
index
e7445fb
..
dec1dff
100644
(file)
--- a/
src/simix/ActorImpl.cpp
+++ b/
src/simix/ActorImpl.cpp
@@
-349,7
+349,7
@@
smx_actor_t SIMIX_process_create(const char* name, std::function<void()> code, v
simix_global->process_to_run.push_back(process);
intrusive_ptr_add_ref(process);
/* Tracing the process creation */
simix_global->process_to_run.push_back(process);
intrusive_ptr_add_ref(process);
/* Tracing the process creation */
- TRACE_msg_process_create(process->
getName(), process->pid
, process->host);
+ TRACE_msg_process_create(process->
ciface()
, process->host);
/* The onCreation() signal must be delayed until there, where the pid and everything is set */
simgrid::s4u::ActorPtr tmp = process->iface(); // Passing this directly to onCreation will lead to crashes
/* The onCreation() signal must be delayed until there, where the pid and everything is set */
simgrid::s4u::ActorPtr tmp = process->iface(); // Passing this directly to onCreation will lead to crashes
@@
-407,7
+407,7
@@
smx_actor_t SIMIX_process_attach(const char* name, void* data, const char* hostn
intrusive_ptr_add_ref(process);
/* Tracing the process creation */
intrusive_ptr_add_ref(process);
/* Tracing the process creation */
- TRACE_msg_process_create(process->
getName(), process->pid
, process->host);
+ TRACE_msg_process_create(process->
ciface()
, process->host);
auto* context = dynamic_cast<simgrid::kernel::context::AttachContext*>(process->context);
if (not context)
auto* context = dynamic_cast<simgrid::kernel::context::AttachContext*>(process->context);
if (not context)