summary refs log tree commit diff
path: root/nptl/pthread_cond_init.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-01-02 11:01:30 +0000
committerUlrich Drepper <drepper@redhat.com>2003-01-02 11:01:30 +0000
commit05df18c3475157cda8126a07b5bb0f52082a0b67 (patch)
treead9be04821a2ec180444af2c737d104141857206 /nptl/pthread_cond_init.c
parentcaf7a872326ee21ad20698baa62ca5599a46d866 (diff)
downloadglibc-05df18c3475157cda8126a07b5bb0f52082a0b67.tar.gz
glibc-05df18c3475157cda8126a07b5bb0f52082a0b67.tar.xz
glibc-05df18c3475157cda8126a07b5bb0f52082a0b67.zip
Update.
2003-01-02  Ulrich Drepper  <drepper@redhat.com>

	* 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.
Diffstat (limited to 'nptl/pthread_cond_init.c')
-rw-r--r--nptl/pthread_cond_init.c5
1 files changed, 3 insertions, 2 deletions
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;
 }