Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Specialize parameter for simcall io_wait.
[simgrid.git] / src / kernel / activity / SynchroRaw.hpp
index d416f90..9115861 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2007-2017. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2007-2019. The SimGrid Team. All rights reserved.          */
 
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
@@ -14,17 +14,15 @@ namespace kernel {
 namespace activity {
 
   /** Used to implement mutexes, semaphores and conditions */
-XBT_PUBLIC_CLASS RawImpl : public ActivityImpl
-{
+class XBT_PUBLIC RawImpl : public ActivityImpl {
 public:
   ~RawImpl() override;
+  RawImpl* start(s4u::Host* host, double timeout);
   void suspend() override;
   void resume() override;
   void post() override;
-
-  surf_action_t sleep = nullptr;
-  };
-
+  void finish() override;
+};
 }}} // namespace simgrid::kernel::activity
 
 #endif