mirror of
https://sourceware.org/git/glibc.git
synced 2025-12-24 17:51:17 +03:00
Update.
1999-07-09 Ulrich Drepper <drepper@cygnus.com> * stdio-common/vfprintf.c (buffered_vfprintf): Add locking.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user