]> AND Public Git Repository - simgrid.git/blobdiff - src/kernel/activity/SynchroRaw.hpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' into disk
[simgrid.git] / src / kernel / activity / SynchroRaw.hpp
index a1d4ca3fc319a7bc28415aec42fb44b786e4461b..13953ead95dfe234cb674412352354b423801e64 100644 (file)
@@ -14,7 +14,7 @@ namespace kernel {
 namespace activity {
 
   /** Used to implement mutexes, semaphores and conditions */
-class XBT_PUBLIC RawImpl : public ActivityImpl {
+class XBT_PUBLIC RawImpl : public ActivityImpl_T<RawImpl> {
   sg_host_t host_ = nullptr;
   double timeout_ = -1;
 
@@ -25,6 +25,7 @@ public:
   RawImpl* start();
   void suspend() override;
   void resume() override;
+  void cancel() override;
   void post() override;
   void finish() override;
 };