Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Make SG_BARRIER_SERIAL_THREAD visible from C files too
[simgrid.git] / include / simgrid / barrier.h
index 9c068be..2837633 100644 (file)
 
 #include <simgrid/forward.h>
 
+#ifdef __cplusplus
+constexpr int SG_BARRIER_SERIAL_THREAD = -1;
+#else
+#define SG_BARRIER_SERIAL_THREAD -1
+#endif
+
 /* C interface */
 SG_BEGIN_DECL()