Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
ops, wasn't compilable under windows
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 10 Jul 2007 17:25:53 +0000 (17:25 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 10 Jul 2007 17:25:53 +0000 (17:25 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3710 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/xbt/xbt_os_thread.c
src/xbt/xbt_rl_synchro.c

index a4b7fa8..73fe3a4 100644 (file)
@@ -309,7 +309,7 @@ void xbt_os_mutex_destroy(xbt_os_mutex_t mutex) {
 }
 
 /***** condition related functions *****/
 }
 
 /***** condition related functions *****/
- enum {
+ enum { /* KEEP IT IN SYNC WITH xbt_thread.c */
     SIGNAL = 0,
     BROADCAST = 1,
     MAX_EVENTS = 2
     SIGNAL = 0,
     BROADCAST = 1,
     MAX_EVENTS = 2
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) */