From: Arnaud Giersch Date: Mon, 11 Feb 2019 13:08:00 +0000 (+0100) Subject: Deprecate an unused function. X-Git-Tag: v3_22~356^2~5 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/53ce86d0b99163e9f523ef8f994854474d297328?hp=f4d90de0fffa1e2813b6b00e491f4f865c6e5389 Deprecate an unused function. --- diff --git a/include/simgrid/simix.hpp b/include/simgrid/simix.hpp index b01db1492c..7cabe4f7e6 100644 --- a/include/simgrid/simix.hpp +++ b/include/simgrid/simix.hpp @@ -65,7 +65,8 @@ template typename std::result_of::type simcall(F&& code) return result.get(); } -XBT_PUBLIC const std::vector& process_get_runnable(); +XBT_ATTRIB_DEPRECATED_v325("Please manifest if you actually need this function.") + XBT_PUBLIC const std::vector& process_get_runnable(); // What's executed as SIMIX actor code: typedef std::function ActorCode; diff --git a/src/simix/ActorImpl.cpp b/src/simix/ActorImpl.cpp index c23b3b86c2..c60f9cc095 100644 --- a/src/simix/ActorImpl.cpp +++ b/src/simix/ActorImpl.cpp @@ -702,7 +702,9 @@ void SIMIX_process_yield(smx_actor_t self) } } -/** @brief Returns the list of processes to run. */ +/** @brief Returns the list of processes to run. + * @deprecated + */ const std::vector& simgrid::simix::process_get_runnable() { return simix_global->process_to_run;