Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
ops, wasn't compilable under windows
[simgrid.git] / src / xbt / xbt_rl_synchro.c
index 1a6b52f..1f42eea 100644 (file)
@@ -83,6 +83,14 @@ void xbt_mutex_destroy(xbt_mutex_t mutex) {
    xbt_os_mutex_destroy( (xbt_os_mutex_t)mutex );
 }
 
    xbt_os_mutex_destroy( (xbt_os_mutex_t)mutex );
 }
 
+#ifdef WIN32
+ enum { /* KEEP IT IN SYNC WITH OS IMPLEM */
+    SIGNAL = 0,
+    BROADCAST = 1,
+    MAX_EVENTS = 2
+ };
+#endif
+
 /***** condition related functions *****/
 typedef struct xbt_cond_ {
    /* KEEP IT IN SYNC WITH OS IMPLEMENTATION (both win and lin) */
 /***** condition related functions *****/
 typedef struct xbt_cond_ {
    /* KEEP IT IN SYNC WITH OS IMPLEMENTATION (both win and lin) */