From bad6065c9735bfe391439cb76adc84c101438ec0 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 13 Jun 2001 23:12:19 +0000 Subject: * semaphore.h: Use struct _pthread_fastlock as an element of sem_t instead of an identical struct. * rwlock.c: Remove casts. * semaphore.c: Likewise. --- linuxthreads/semaphore.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'linuxthreads/semaphore.h') diff --git a/linuxthreads/semaphore.h b/linuxthreads/semaphore.h index fa0e52ddeb..9c283c8644 100644 --- a/linuxthreads/semaphore.h +++ b/linuxthreads/semaphore.h @@ -31,11 +31,7 @@ typedef struct _pthread_descr_struct *_pthread_descr; /* System specific semaphore definition. */ typedef struct { - struct - { - long int __status; - int __spinlock; - } __sem_lock; + struct _pthread_fastlock __sem_lock; int __sem_value; _pthread_descr __sem_waiting; } sem_t; -- cgit v1.2.3