From: Arnaud Giersch Date: Sun, 8 Apr 2018 22:07:48 +0000 (+0200) Subject: MSG_action* have been removed. X-Git-Tag: v3.20~485 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/e05361c201fb95d2b7605e59001cd0a49a489739 MSG_action* have been removed. --- diff --git a/doc/doxygen/module-msg.doc b/doc/doxygen/module-msg.doc index 3ef2a6c069..ddb517c2fb 100644 --- a/doc/doxygen/module-msg.doc +++ b/doc/doxygen/module-msg.doc @@ -28,7 +28,6 @@ abstracted away rather easily. - \ref msg_task_usage - \ref msg_VMs - \ref msg_synchro - - \ref msg_trace_driven - \ref msg_examples */ @@ -104,25 +103,3 @@ details). @ingroup MSG_API @brief MSG files (#msg_file_t) and associated functions, inspired from POSIX. */ - -/** -@defgroup msg_trace_driven Trace-driven simulations -@ingroup MSG_API -@brief This section describes the functions allowing to build trace-driven simulations. - -This is very handy when you want to test an algorithm or protocol that -does nothing unless it receives some events from outside. For example, -a P2P protocol reacts to requests from the user, but does nothing if -there is no such event. - -In such situations, SimGrid allows to write your protocol in your C -file, and the events to react to in a separate text file. Declare a -function handling each of the events that you want to accept in your -trace files, register them using #xbt_replay_action_register in your main, -and then use #MSG_action_trace_run to launch the simulation. You can -either have one trace file containing all your events, or a file per -simulated process. - -Check the examples in examples/msg/actions/actions.c for details. - - */ diff --git a/include/simgrid/msg.h b/include/simgrid/msg.h index 796e26b436..6e808b503a 100644 --- a/include/simgrid/msg.h +++ b/include/simgrid/msg.h @@ -337,11 +337,6 @@ XBT_PUBLIC const char* MSG_task_get_category(msg_task_t task); */ XBT_PUBLIC void MSG_mailbox_set_async(const char* alias); -/************************** Action handling **********************************/ -XBT_PUBLIC msg_error_t MSG_action_trace_run(char* path); -XBT_PUBLIC void MSG_action_init(); -XBT_PUBLIC void MSG_action_exit(); - /** @brief Opaque type representing a semaphore * @ingroup msg_synchro * @hideinitializer