-/* ************************** Backward ABI compatibility *************************** */
-int MSG_process_get_PID(sg_actor_t actor) __attribute__((alias("sg_actor_get_PID")));
-int MSG_process_get_PPID(sg_actor_t actor) __attribute__((alias("sg_actor_get_PPID")));
-const char* MSG_process_get_name(sg_actor_t actor) __attribute__((alias("sg_actor_get_name")));
-sg_host_t MSG_process_get_host(sg_actor_t actor) __attribute__((alias("sg_actor_get_host")));
-xbt_dict_t MSG_process_get_properties(sg_actor_t actor) __attribute__((alias("sg_actor_get_properties")));
-const char* MSG_process_get_property_value(sg_actor_t actor, const char* name)
- __attribute__((alias("sg_actor_get_property_value")));
-void MSG_process_suspend(sg_actor_t actor) __attribute__((alias("sg_actor_suspend")));
-void MSG_process_resume(sg_actor_t actor) __attribute__((alias("sg_actor_resume")));
-int MSG_process_is_suspended(sg_actor_t actor) __attribute__((alias("sg_actor_is_suspended")));
-void MSG_process_restart(sg_actor_t actor) __attribute__((alias("sg_actor_restart")));
-void MSG_process_daemonize(sg_actor_t actor) __attribute__((alias("sg_actor_daemonize")));
-SG_END_DECL()
+/** \ingroup m_actor_management
+ * \brief Migrates an actor to another location.
+ *
+ * This function changes the value of the #sg_host_t on which \a actor is running.
+ */
+void sg_actor_migrate(sg_actor_t process, sg_host_t host)
+{
+ process->migrate(host);
+}
+
+/** \ingroup m_actor_management
+* \brief Wait for the completion of a #sg_actor_t.
+*
+* \param actor the actor to wait for
+* \param timeout wait until the actor is over, or the timeout expires
+*/
+void sg_actor_join(sg_actor_t actor, double timeout)
+{
+ actor->join(timeout);
+}
+
+void sg_actor_kill(sg_actor_t actor)
+{
+ actor->kill();
+}
+
+/** \ingroup m_actor_management
+ * \brief Set the kill time of an actor.
+ *
+ * \param actor an actor
+ * \param kill_time the time when the actor is killed.
+ */
+void sg_actor_set_kill_time(sg_actor_t actor, double kill_time)
+{
+ actor->set_kill_time(kill_time);
+}