mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-01 10:06:57 +03:00
nptl: Replace lll_timedwait with __futex_abstimed_wait64
Checked with x86_64-linux-gnu and i686-linux-gnu. Reviewed-by: Lukasz Majewski <lukma@denx.de>
This commit is contained in:
@ -425,8 +425,8 @@ __pthread_mutex_lock_full (pthread_mutex_t *mutex)
|
||||
|
||||
/* Delay the thread indefinitely. */
|
||||
while (1)
|
||||
lll_timedwait (&(int){0}, 0, 0 /* ignored */, NULL,
|
||||
private);
|
||||
__futex_abstimed_wait64 (&(unsigned int){0}, 0,
|
||||
0 /* ignored */, NULL, private);
|
||||
}
|
||||
|
||||
oldval = mutex->__data.__lock;
|
||||
|
Reference in New Issue
Block a user