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
Use an ActorPtr as parameter to smpi_switch_data_segemnt.
[simgrid.git]
/
src
/
simix
/
ActorImpl.cpp
diff --git
a/src/simix/ActorImpl.cpp
b/src/simix/ActorImpl.cpp
index
b93d874
..
e7445fb
100644
(file)
--- a/
src/simix/ActorImpl.cpp
+++ b/
src/simix/ActorImpl.cpp
@@
-748,8
+748,8
@@
void SIMIX_process_yield(smx_actor_t self)
std::rethrow_exception(std::move(exception));
}
- if
(SMPI_switch_data_segment)
{
- SMPI_switch_data_segment(self->
pid
);
+ if
(SMPI_switch_data_segment && not self->finished)
{
+ SMPI_switch_data_segment(self->
iface()
);
}
}