X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/60a27a0410114e3ad562913b49aa362643fb2237..c1194401ce4a41ff54a7591f4cf33c9ce2756978:/src/simix/popping_bodies.cpp diff --git a/src/simix/popping_bodies.cpp b/src/simix/popping_bodies.cpp index 64701378fe..17dfef1a5f 100644 --- a/src/simix/popping_bodies.cpp +++ b/src/simix/popping_bodies.cpp @@ -99,20 +99,19 @@ inline static boost::intrusive_ptr simc return simcall, smx_actor_t, smx_mailbox_t, void*, size_t*, simix_match_func_t, simix_copy_data_func_t, void*, double>(SIMCALL_COMM_IRECV, receiver, mbox, dst_buff, dst_buff_size, match_fun, copy_data_fun, data, rate); } -inline static int simcall_BODY_comm_waitany(boost::intrusive_ptr* comms, - size_t count, double timeout) +inline static int simcall_BODY_comm_waitany(simgrid::kernel::activity::CommImpl** comms, size_t count, double timeout) { if (0) /* Go to that function to follow the code flow through the simcall barrier */ simcall_HANDLER_comm_waitany(&SIMIX_process_self()->simcall, comms, count, timeout); - return simcall*, size_t, double>( - SIMCALL_COMM_WAITANY, comms, count, timeout); + return simcall(SIMCALL_COMM_WAITANY, comms, count, + timeout); } -inline static void simcall_BODY_comm_wait(boost::intrusive_ptr comm, double timeout) +inline static void simcall_BODY_comm_wait(simgrid::kernel::activity::CommImpl* comm, double timeout) { if (0) /* Go to that function to follow the code flow through the simcall barrier */ simcall_HANDLER_comm_wait(&SIMIX_process_self()->simcall, comm, timeout); - return simcall, double>(SIMCALL_COMM_WAIT, comm, timeout); + return simcall(SIMCALL_COMM_WAIT, comm, timeout); } inline static int simcall_BODY_comm_test(simgrid::kernel::activity::CommImpl* comm) @@ -122,11 +121,11 @@ inline static int simcall_BODY_comm_test(simgrid::kernel::activity::CommImpl* co return simcall(SIMCALL_COMM_TEST, comm); } -inline static int simcall_BODY_comm_testany(boost::intrusive_ptr* comms, size_t count) +inline static int simcall_BODY_comm_testany(simgrid::kernel::activity::CommImpl** comms, size_t count) { if (0) /* Go to that function to follow the code flow through the simcall barrier */ simcall_HANDLER_comm_testany(&SIMIX_process_self()->simcall, comms, count); - return simcall*, size_t>(SIMCALL_COMM_TESTANY, comms, count); + return simcall(SIMCALL_COMM_TESTANY, comms, count); } inline static void simcall_BODY_mutex_lock(smx_mutex_t mutex)