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
please clang
[simgrid.git]
/
src
/
simix
/
ActorImpl.cpp
diff --git
a/src/simix/ActorImpl.cpp
b/src/simix/ActorImpl.cpp
index
9715c65
..
469386d
100644
(file)
--- a/
src/simix/ActorImpl.cpp
+++ b/
src/simix/ActorImpl.cpp
@@
-791,7
+791,7
@@
void SIMIX_process_sleep_destroy(smx_activity_t synchro)
*/
void SIMIX_process_yield(smx_actor_t self)
{
*/
void SIMIX_process_yield(smx_actor_t self)
{
- XBT_DEBUG("Yield
process '%s'", self->name.c_str
());
+ XBT_DEBUG("Yield
actor '%s'", self->cname
());
/* Go into sleep and return control to maestro */
self->context->suspend();
/* Go into sleep and return control to maestro */
self->context->suspend();
@@
-989,7
+989,7
@@
smx_actor_t simcall_process_create(
if (name == nullptr)
name = "";
smx_actor_t self = SIMIX_process_self();
if (name == nullptr)
name = "";
smx_actor_t self = SIMIX_process_self();
- return simgrid::simix::kernelImmediate([
&
] {
+ return simgrid::simix::kernelImmediate([
name, code, data, host, kill_time, properties, auto_restart, self
] {
return SIMIX_process_create(name, std::move(code), data, host, kill_time, properties, auto_restart, self);
});
}
return SIMIX_process_create(name, std::move(code), data, host, kill_time, properties, auto_restart, self);
});
}