diff options
author | Ulrich Drepper <drepper@redhat.com> | 1999-07-09 22:22:21 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1999-07-09 22:22:21 +0000 |
commit | 5ef2d37b330420c89cd476afa83ca5a839094796 (patch) | |
tree | 14979d91d54cbc2a116baba918dd6d8f05c77c76 /linuxthreads | |
parent | fbb802fc7dcc06b8f76bf75de7529edabdd19d4f (diff) | |
download | glibc-5ef2d37b330420c89cd476afa83ca5a839094796.zip glibc-5ef2d37b330420c89cd476afa83ca5a839094796.tar.gz glibc-5ef2d37b330420c89cd476afa83ca5a839094796.tar.bz2 |
Update.
1999-07-09 Ulrich Drepper <drepper@cygnus.com>
* stdio-common/vfprintf.c (buffered_vfprintf): Add locking.
Diffstat (limited to 'linuxthreads')
-rw-r--r-- | linuxthreads/ChangeLog | 5 | ||||
-rw-r--r-- | linuxthreads/oldsemaphore.c | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog index 5012b24..8432d2d 100644 --- a/linuxthreads/ChangeLog +++ b/linuxthreads/ChangeLog @@ -1,3 +1,8 @@ +1999-07-09 Ulrich Drepper <drepper@cygnus.com> + + * oldsemaphore.c (sem_compare_and_swap): Fix use of compare and + swap function. + 1999-07-09 Cristian Gafton <gafton@redhat.com> * Makefile (libpthread-routines): Add oldsemaphore routine. diff --git a/linuxthreads/oldsemaphore.c b/linuxthreads/oldsemaphore.c index 5a19a45..72d12d2 100644 --- a/linuxthreads/oldsemaphore.c +++ b/linuxthreads/oldsemaphore.c @@ -37,7 +37,7 @@ typedef struct { static inline int sem_compare_and_swap(old_sem_t *sem, long oldval, long newval) { - return __pthread_compare_and_swap(&sem->sem_status, oldval, newval, &sem->sem_spinlock); + return compare_and_swap(&sem->sem_status, oldval, newval, &sem->sem_spinlock); } /* The state of a semaphore is represented by a long int encoding @@ -212,4 +212,3 @@ symbol_version (__old_sem_post, sem_post, GLIBC_2.0); symbol_version (__old_sem_getvalue, sem_getvalue, GLIBC_2.0); symbol_version (__old_sem_destroy, sem_destroy, GLIBC_2.0); #endif - |