Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
document a class
[simgrid.git] / src / kernel / context / Context.hpp
index c5a459a..c184df4 100644 (file)
@@ -81,6 +81,11 @@ namespace context {
     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;