X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/82fafbab5f8ce1530037fd245d678e917119caa0..5954596b70db131a1a1ce5d8580ba32687066e34:/src/simix/popping_bodies.cpp diff --git a/src/simix/popping_bodies.cpp b/src/simix/popping_bodies.cpp index ecd753707f..9f69d93511 100644 --- a/src/simix/popping_bodies.cpp +++ b/src/simix/popping_bodies.cpp @@ -104,13 +104,6 @@ inline static int simcall_BODY_comm_testany(simgrid::kernel::activity::CommImpl* return simcall(Simcall::COMM_TESTANY, comms, count); } -inline static void simcall_BODY_mutex_lock(smx_mutex_t mutex) -{ - if (false) /* Go to that function to follow the code flow through the simcall barrier */ - simcall_HANDLER_mutex_lock(&SIMIX_process_self()->simcall_, mutex); - return simcall(Simcall::MUTEX_LOCK, mutex); -} - inline static void simcall_BODY_cond_wait(smx_cond_t cond, smx_mutex_t mutex) { if (false) /* Go to that function to follow the code flow through the simcall barrier */ @@ -125,13 +118,6 @@ inline static int simcall_BODY_cond_wait_timeout(smx_cond_t cond, smx_mutex_t mu return simcall(Simcall::COND_WAIT_TIMEOUT, cond, mutex, timeout); } -inline static void simcall_BODY_sem_acquire(smx_sem_t sem) -{ - if (false) /* Go to that function to follow the code flow through the simcall barrier */ - simcall_HANDLER_sem_acquire(&SIMIX_process_self()->simcall_, sem); - return simcall(Simcall::SEM_ACQUIRE, sem); -} - inline static int simcall_BODY_sem_acquire_timeout(smx_sem_t sem, double timeout) { if (false) /* Go to that function to follow the code flow through the simcall barrier */