From dad3d47f026798446da1d32d0d1607ffc35851cf Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Sat, 12 May 2018 21:45:50 +0200 Subject: [PATCH] Kill unused function simcall_call(). --- include/simgrid/simix.h | 2 -- src/simix/libsmx.cpp | 11 ----------- 2 files changed, 13 deletions(-) diff --git a/include/simgrid/simix.h b/include/simgrid/simix.h index 3e8858598e..9886e4dd96 100644 --- a/include/simgrid/simix.h +++ b/include/simgrid/simix.h @@ -167,8 +167,6 @@ XBT_PUBLIC void SIMIX_comm_finish(smx_activity_t synchro); /* They can also be called from maestro's context, and they are thread safe. */ /******************************************************************************/ -XBT_PUBLIC void simcall_call(smx_actor_t process); - /******************************* Host simcalls ********************************/ XBT_PUBLIC smx_activity_t simcall_execution_start(const char* name, double flops_amount, double priority, double bound, sg_host_t host); diff --git a/src/simix/libsmx.cpp b/src/simix/libsmx.cpp index 13b9cc1bbd..41b201c9d7 100644 --- a/src/simix/libsmx.cpp +++ b/src/simix/libsmx.cpp @@ -33,17 +33,6 @@ XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(simix); #include "popping_bodies.cpp" -void simcall_call(smx_actor_t actor) -{ - if (actor != simix_global->maestro_process) { - XBT_DEBUG("Yield actor '%s' on simcall %s (%d)", actor->get_cname(), SIMIX_simcall_name(actor->simcall.call), - (int)actor->simcall.call); - SIMIX_process_yield(actor); - } else { - SIMIX_simcall_handle(&actor->simcall, 0); - } -} - /** * \ingroup simix_process_management * \brief Creates a synchro that executes some computation of an host. -- 2.20.1