mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-18 22:50:07 +00:00
Correct last patch.
This commit is contained in:
parent
538baf4819
commit
059f928f81
@ -37,7 +37,7 @@ typedef struct {
|
|||||||
|
|
||||||
static inline int sem_compare_and_swap(old_sem_t *sem, long oldval, long newval)
|
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
|
/* The state of a semaphore is represented by a long int encoding
|
||||||
|
Loading…
Reference in New Issue
Block a user