X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b9f8f01f1e31a9cec9df207ad241e9c732790cc1..082ed926323cda37d5f5cdfe5fdeb06c7884d036:/src/simix/popping_bodies.cpp diff --git a/src/simix/popping_bodies.cpp b/src/simix/popping_bodies.cpp index 8611fadb58..fc04c38c1c 100644 --- a/src/simix/popping_bodies.cpp +++ b/src/simix/popping_bodies.cpp @@ -4,7 +4,7 @@ /* DO NOT EVER CHANGE THIS FILE */ /* */ /* change simcalls specification in src/simix/simcalls.in */ -/* Copyright (c) 2014-2020. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2014-2021. The SimGrid Team. All rights reserved. */ /**********************************************************************/ /* @@ -104,27 +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 int simcall_BODY_mutex_trylock(smx_mutex_t mutex) -{ - if (false) /* Go to that function to follow the code flow through the simcall barrier */ - simcall_HANDLER_mutex_trylock(&SIMIX_process_self()->simcall_, mutex); - return simcall(Simcall::MUTEX_TRYLOCK, mutex); -} - -inline static void simcall_BODY_mutex_unlock(smx_mutex_t mutex) -{ - if (false) /* Go to that function to follow the code flow through the simcall barrier */ - simcall_HANDLER_mutex_unlock(&SIMIX_process_self()->simcall_, mutex); - return simcall(Simcall::MUTEX_UNLOCK, 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 */ @@ -153,13 +132,6 @@ inline static int simcall_BODY_sem_acquire_timeout(smx_sem_t sem, double timeout return simcall(Simcall::SEM_ACQUIRE_TIMEOUT, sem, timeout); } -inline static int simcall_BODY_mc_random(int min, int max) -{ - if (false) /* Go to that function to follow the code flow through the simcall barrier */ - simcall_HANDLER_mc_random(&SIMIX_process_self()->simcall_, min, max); - return simcall(Simcall::MC_RANDOM, min, max); -} - inline static void simcall_BODY_run_kernel(std::function const* code) { if (false) /* Go to that function to follow the code flow through the simcall barrier */