X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/85b9970b238b0cac935a72bca09d62d5fe3c38e8..b1801e7056930569752cf33757134cb44d32cfac:/include/simgrid/s4u/Actor.hpp diff --git a/include/simgrid/s4u/Actor.hpp b/include/simgrid/s4u/Actor.hpp index 4a43307662..e3a0f6b8b5 100644 --- a/include/simgrid/s4u/Actor.hpp +++ b/include/simgrid/s4u/Actor.hpp @@ -230,7 +230,7 @@ public: void yield(); /** Returns true if the actor is suspended. */ - int is_suspended(); + bool is_suspended(); /** If set to true, the actor will automatically restart when its host reboots */ void set_auto_restart(bool autorestart); @@ -328,7 +328,8 @@ public: XBT_ATTRIB_DEPRECATED_v323("Please use Actor::get_kill_time()") double getKillTime() { return get_kill_time(); } XBT_ATTRIB_DEPRECATED_v323("Please use Actor::by_pid()") static ActorPtr byPid(aid_t pid) { return by_pid(pid); } XBT_ATTRIB_DEPRECATED_v323("Please use Actor::kill_all()") static void killAll() { kill_all(); } - XBT_ATTRIB_DEPRECATED_v323("Please use Actor::kill_all() with no parameter") static void killAll(int resetPid) + XBT_ATTRIB_DEPRECATED_v323("Please use Actor::kill_all() with no parameter") static void killAll( + int XBT_ATTRIB_UNUSED resetPid) { kill_all(); }