From 697568d1b48a497024bca234483a157cee79c7a2 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 21 Jun 2000 04:35:29 +0000 Subject: Update. 2000-06-20 Jes Sorensen * sysdeps/unix/sysv/linux/ia64/syscalls.list: New file. 2000-06-20 Jes Sorensen * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: New file. * sysdeps/unix/sysv/linux/ia64/profil-counter.h: New file. 2000-06-20 David Mosberger-Tang * sysdeps/unix/sysv/linux/ia64/getpagesize.c: New file. 2000-06-20 Jes Sorensen * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Fix typo. --- linuxthreads/sysdeps/pthread/bits/pthreadtypes.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'linuxthreads/sysdeps/pthread/bits') diff --git a/linuxthreads/sysdeps/pthread/bits/pthreadtypes.h b/linuxthreads/sysdeps/pthread/bits/pthreadtypes.h index 99e56d2..a53889f 100644 --- a/linuxthreads/sysdeps/pthread/bits/pthreadtypes.h +++ b/linuxthreads/sysdeps/pthread/bits/pthreadtypes.h @@ -118,6 +118,20 @@ typedef struct #ifdef __USE_XOPEN2K /* POSIX spinlock data type. */ typedef volatile int pthread_spinlock_t; + +/* POSIX barrier. */ +typedef struct { + struct _pthread_fastlock __ba_lock; /* Lock to guarantee mutual exclusion */ + int __ba_required; /* Threads needed for completion */ + int __ba_present; /* Threads waiting */ + _pthread_descr __ba_waiting; /* Queue of waiting threads */ +} pthread_barrier_t; + +/* barrier attribute */ +typedef struct { + int __pshared; +} pthread_barrierattr_t; + #endif -- cgit v1.1