Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Deprecate an unused function.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Mon, 11 Feb 2019 13:08:00 +0000 (14:08 +0100)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Mon, 11 Feb 2019 13:08:00 +0000 (14:08 +0100)
include/simgrid/simix.hpp
src/simix/ActorImpl.cpp

index b01db14..7cabe4f 100644 (file)
@@ -65,7 +65,8 @@ template <class F> typename std::result_of<F()>::type simcall(F&& code)
   return result.get();
 }
 
   return result.get();
 }
 
-XBT_PUBLIC const std::vector<smx_actor_t>& process_get_runnable();
+XBT_ATTRIB_DEPRECATED_v325("Please manifest if you actually need this function.")
+    XBT_PUBLIC const std::vector<smx_actor_t>& process_get_runnable();
 
 // What's executed as SIMIX actor code:
 typedef std::function<void()> ActorCode;
 
 // What's executed as SIMIX actor code:
 typedef std::function<void()> ActorCode;
index c23b3b8..c60f9cc 100644 (file)
@@ -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<smx_actor_t>& simgrid::simix::process_get_runnable()
 {
   return simix_global->process_to_run;
 const std::vector<smx_actor_t>& simgrid::simix::process_get_runnable()
 {
   return simix_global->process_to_run;