X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a900ac9d39fee1b3de240499c5326e5b8d4f44c2..a49583a073245f63e7ad48306509ef28b0fd991b:/src/mc/remote/Client.cpp diff --git a/src/mc/remote/Client.cpp b/src/mc/remote/Client.cpp index 9c741c4a35..055a90af62 100644 --- 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 - smpi_really_switch_data_segment(simgrid::s4u::Actor::byPid(message->index)); + smpi_really_switch_data_segment(simgrid::s4u::Actor::by_pid(message->index)); #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 - if (smpi_privatize_global_variables == SmpiPrivStrategies::Mmap && process) - region.process_index = process->pid - 1; + if (smpi_privatize_global_variables == SmpiPrivStrategies::MMAP && process) + region.process_index = process->pid_ - 1; else #endif region.process_index = -1;