Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
split smx_synchro_t into a hierarchy of C++ classes
[simgrid.git] / src / simix / SynchroRaw.hpp
diff --git a/src/simix/SynchroRaw.hpp b/src/simix/SynchroRaw.hpp
new file mode 100644 (file)
index 0000000..3d8a28e
--- /dev/null
@@ -0,0 +1,22 @@
+/* Copyright (c) 2007-2016. 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. */
+
+#ifndef _SIMIX_SYNCHRO_RAW_HPP
+#define _SIMIX_SYNCHRO_RAW_HPP
+
+#include "src/simix/Synchro.h"
+
+namespace simgrid {
+namespace simix {
+
+  /** Used to implement mutexes, semaphores and conditions */
+  XBT_PUBLIC_CLASS Raw : public Synchro {
+  public:
+    surf_action_t sleep;
+  };
+
+}} // namespace simgrid::simix
+
+#endif