X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4f2d08b0ae4625d32890dc4613e1d842ad0f7b77..df24d1f9b8d85ff3f81c5d4f816310303d7186ab:/include/simgrid/s4u/Actor.hpp diff --git a/include/simgrid/s4u/Actor.hpp b/include/simgrid/s4u/Actor.hpp index 098c8b90d2..757fadf20f 100644 --- a/include/simgrid/s4u/Actor.hpp +++ b/include/simgrid/s4u/Actor.hpp @@ -206,13 +206,9 @@ public: const char* get_cname() const; /** Retrieves the host on which that actor is running */ s4u::Host* get_host(); - /** Retrieves the PID of that actor - * - * aid_t is an alias for long */ + /** Retrieves the actor ID of that actor */ aid_t get_pid() const; - /** Retrieves the PPID of that actor - * - * aid_t is an alias for long */ + /** Retrieves the actor ID of that actor's creator */ aid_t get_ppid() const; /** Suspend an actor by suspending the task on which it was waiting for the completion. */ @@ -374,7 +370,7 @@ public: return res; } /** @deprecated See Actor::get_properties() */ - XBT_ATTRIB_DEPRECATED_v323("Please use Actor::get_properties()") void setProperty(const char* key, const char* value) + XBT_ATTRIB_DEPRECATED_v323("Please use Actor::set_property()") void setProperty(const char* key, const char* value) { set_property(key, value); } @@ -475,15 +471,17 @@ XBT_PUBLIC void parallel_execute(std::vector hosts, std::vector bytes_amounts, double timeout); #ifndef DOXYGEN -XBT_PUBLIC void parallel_execute(int host_nb, s4u::Host** host_list, double* flops_amount, double* bytes_amount); -XBT_PUBLIC void parallel_execute(int host_nb, s4u::Host** host_list, double* flops_amount, double* bytes_amount, - double timeout); +XBT_ATTRIB_DEPRECATED_v325("Please use std::vectors as parameters") XBT_PUBLIC + void parallel_execute(int host_nb, s4u::Host** host_list, double* flops_amount, double* bytes_amount); +XBT_ATTRIB_DEPRECATED_v325("Please use std::vectors as parameters") XBT_PUBLIC + void parallel_execute(int host_nb, s4u::Host** host_list, double* flops_amount, double* bytes_amount, + double timeout); #endif XBT_PUBLIC ExecPtr exec_init(double flops_amounts); XBT_PUBLIC ExecPtr exec_async(double flops_amounts); -/** @brief Returns the actor ID of the current actor). */ +/** @brief Returns the actor ID of the current actor. */ XBT_PUBLIC aid_t get_pid(); /** @brief Returns the ancestor's actor ID of the current actor. */