Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
document a class
authorMartin Quinson <martin.quinson@loria.fr>
Sat, 30 Sep 2017 21:31:58 +0000 (23:31 +0200)
committerMartin Quinson <martin.quinson@loria.fr>
Sat, 30 Sep 2017 21:31:58 +0000 (23:31 +0200)
src/kernel/context/Context.hpp

index c5a459a..c184df4 100644 (file)
@@ -81,6 +81,11 @@ namespace context {
     smx_actor_t process_ = nullptr;
   public:
     class StopRequest {
     smx_actor_t process_ = nullptr;
   public:
     class StopRequest {
+      /** @brief Exception launched to kill a process, in order to properly unwind its stack and release RAII stuff
+       *
+       * Nope, Sonar, this should not inherit of std::exception.
+       * Otherwise, users may accidentally catch it with a try {} catch (std::exception)
+       */
     };
     bool iwannadie;
 
     };
     bool iwannadie;