From 05df18c3475157cda8126a07b5bb0f52082a0b67 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 2 Jan 2003 11:01:30 +0000 Subject: Update. 2003-01-02 Ulrich Drepper * sysdeps/pthread/bits/pthreadtypes.h (pthread_cond_t): Add padding. * condvar.c: Add symbol versioning. The compatibility versions are the same as the change in the interface does not effect this implementation. * Versions [libpthread]: Add definitions for new pthread_cond_* interfaces for version GLIBC_2.3.2. --- nptl/pthread_cond_init.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'nptl/pthread_cond_init.c') diff --git a/nptl/pthread_cond_init.c b/nptl/pthread_cond_init.c index 2b782c2929..cd762f2222 100644 --- a/nptl/pthread_cond_init.c +++ b/nptl/pthread_cond_init.c @@ -30,8 +30,9 @@ __pthread_cond_init (cond, cond_attr) variables are always usable in multiple processes. */ cond->__data.__lock = LLL_MUTEX_LOCK_INITIALIZER; - cond->__data.__nr_wakers = 0; - cond->__data.__nr_sleepers = 0; + cond->__data.__total_seq = 0; + cond->__data.__wakeup_seq = 0; + cond->__data.__woken_seq = 0; return 0; } -- cgit v1.2.3