summaryrefslogtreecommitdiff
path: root/nptl/sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h
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/sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h
parentcaf7a872326ee21ad20698baa62ca5599a46d866 (diff)
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/sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h')
-rw-r--r--nptl/sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h b/nptl/sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h
index dbd477cca0..97b94a3074 100644
--- a/nptl/sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h
+++ b/nptl/sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h
@@ -23,7 +23,8 @@
#define __SIZEOF_PTHREAD_ATTR_T 36
#define __SIZEOF_PTHREAD_MUTEX_T 24
#define __SIZEOF_PTHREAD_MUTEXATTR_T 4
-#define __SIZEOF_PTHREAD_COND_T 12
+#define __SIZEOF_PTHREAD_COND_T 48
+#define __SIZEOF_PTHREAD_COND_COMPAT_T 12
#define __SIZEOF_PTHREAD_CONDATTR_T 4
#define __SIZEOF_PTHREAD_RWLOCK_T 32
#define __SIZEOF_PTHREAD_RWLOCKATTR_T 8
@@ -74,11 +75,12 @@ typedef union
struct
{
int __lock;
- unsigned int __nr_wakers;
- unsigned int __nr_sleepers;
+ unsigned long long int __total_seq;
+ unsigned long long int __wakeup_seq;
+ unsigned long long int __woken_seq;
} __data;
char __size[__SIZEOF_PTHREAD_COND_T];
- long int __align;
+ long long int __align;
} pthread_cond_t;
typedef union