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
filtered_libraries++
[simgrid.git]
/
src
/
mc
/
remote
/
Client.cpp
diff --git
a/src/mc/remote/Client.cpp
b/src/mc/remote/Client.cpp
index
9c741c4
..
055a90a
100644
(file)
--- a/
src/mc/remote/Client.cpp
+++ b/
src/mc/remote/Client.cpp
@@
-114,7
+114,7
@@
void Client::handleSimcall(s_mc_message_simcall_handle_t* message)
void Client::handleRestore(s_mc_message_restore_t* message)
{
#if HAVE_SMPI
void Client::handleRestore(s_mc_message_restore_t* message)
{
#if HAVE_SMPI
- smpi_really_switch_data_segment(simgrid::s4u::Actor::by
P
id(message->index));
+ smpi_really_switch_data_segment(simgrid::s4u::Actor::by
_p
id(message->index));
#endif
}
void Client::handleActorEnabled(s_mc_message_actor_enabled_t* msg)
#endif
}
void Client::handleActorEnabled(s_mc_message_actor_enabled_t* msg)
@@
-258,8
+258,8
@@
void Client::declareStack(void* stack, size_t size, smx_actor_t process, ucontex
region.size = size;
region.block = ((char*)stack - (char*)heap->heapbase) / BLOCKSIZE + 1;
#if HAVE_SMPI
region.size = size;
region.block = ((char*)stack - (char*)heap->heapbase) / BLOCKSIZE + 1;
#if HAVE_SMPI
- if (smpi_privatize_global_variables == SmpiPrivStrategies::M
map
&& process)
- region.process_index = process->pid - 1;
+ if (smpi_privatize_global_variables == SmpiPrivStrategies::M
MAP
&& process)
+ region.process_index = process->pid
_
- 1;
else
#endif
region.process_index = -1;
else
#endif
region.process_index = -1;