Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Make SG_BARRIER_SERIAL_THREAD visible from C files too
[simgrid.git] / include / simgrid / s4u / Barrier.hpp
index 85e2c05..6a2dcb7 100644 (file)
@@ -6,16 +6,15 @@
 #ifndef SIMGRID_S4U_BARRIER_HPP
 #define SIMGRID_S4U_BARRIER_HPP
 
+#include <simgrid/barrier.h>
+#include <simgrid/chrono.hpp>
 #include <simgrid/forward.h>
 #include <simgrid/s4u/ConditionVariable.hpp>
-#include <simgrid/chrono.hpp>
 #include <simgrid/s4u/Mutex.hpp>
 
 #include <atomic>
 #include <future>
 
-constexpr int SG_BARRIER_SERIAL_THREAD = -1;
-
 namespace simgrid {
 namespace s4u {