OSSP CVS Repository

ossp - Difference in ossp-pkg/pth/pth.h.in versions 1.129 and 1.130
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/pth/pth.h.in 1.129 -> 1.130

--- pth.h.in     2001/03/24 14:51:04     1.129
+++ pth.h.in     2001/07/24 18:55:36     1.130
@@ -244,12 +244,13 @@
 #define PTH_COND_SIGNALED            _BIT(1)
 #define PTH_COND_BROADCAST           _BIT(2)
 #define PTH_COND_HANDLED             _BIT(3)
-#define PTH_COND_INIT                { PTH_COND_INITIALIZED }
+#define PTH_COND_INIT                { PTH_COND_INITIALIZED, 0 }
 
    /* barrier variable values */
 #define PTH_BARRIER_INITIALIZED      _BIT(0)
-#define PTH_BARRIER_INIT(threshold)  { PTH_BARRIER_INITIALIZED, (threshold), 0, 0, \
-                                       PTH_MUTEX_INIT, PTH_COND_INIT }
+#define PTH_BARRIER_INIT(threshold)  { PTH_BARRIER_INITIALIZED, \
+                                       (threshold), (threshold), FALSE, \
+                                       PTH_COND_INIT, PTH_MUTEX_INIT }
 #define PTH_BARRIER_HEADLIGHT        (-1)
 #define PTH_BARRIER_TAILLIGHT        (-2)
 

CVSTrac 2.0.1