diff options
author | Ulrich Drepper <drepper@redhat.com> | 2001-06-13 23:12:19 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2001-06-13 23:12:19 +0000 |
commit | bad6065c9735bfe391439cb76adc84c101438ec0 (patch) | |
tree | c57fe098c0c2b2397a75f5a9ec4fe952fe38d618 /linuxthreads/semaphore.h | |
parent | b50a2c3f9667b17148b6df4718239eabab3c3d1f (diff) | |
download | glibc-bad6065c9735bfe391439cb76adc84c101438ec0.tar.gz glibc-bad6065c9735bfe391439cb76adc84c101438ec0.tar.xz glibc-bad6065c9735bfe391439cb76adc84c101438ec0.zip |
* semaphore.h: Use struct _pthread_fastlock as an element of
sem_t instead of an identical struct. * rwlock.c: Remove casts. * semaphore.c: Likewise.
Diffstat (limited to 'linuxthreads/semaphore.h')
-rw-r--r-- | linuxthreads/semaphore.h | 6 |
1 files changed, 1 insertions, 5 deletions
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; |