X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/96f0842b8bd315d5ac3df5ffb91bbf321a389d24..92cd12d0b61dd5a17500ef7d38f7b95a80301037:/include/simgrid/simix.hpp diff --git a/include/simgrid/simix.hpp b/include/simgrid/simix.hpp index 2b979d735d..f28dbb294e 100644 --- a/include/simgrid/simix.hpp +++ b/include/simgrid/simix.hpp @@ -20,7 +20,8 @@ XBT_PUBLIC void simcall_run_kernel(std::function const& code); XBT_PUBLIC void simcall_run_blocking(std::function const& code); namespace simgrid { -namespace simix { +namespace kernel { +namespace actor { /** Execute some code in kernel context on behalf of the user code. * @@ -86,6 +87,11 @@ template typename std::result_of::type simcall_blocking(F&& code) simcall_run_blocking([&result, &code] { simgrid::xbt::fulfill_promise(result, std::forward(code)); }); return result.get(); } +} // namespace actor +} // namespace kernel +} // namespace simgrid +namespace simgrid { +namespace simix { XBT_ATTRIB_DEPRECATED_v325("Please manifest if you actually need this function") XBT_PUBLIC const std::vector& process_get_runnable();