diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2020-11-22 18:55:03 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2020-11-25 10:43:18 -0300 |
commit | 5289cec4b8812ffe7998df81b74be8ef6e563b5f (patch) | |
tree | 5823cafb2ef2d0b005b93953e10504fbebb8515c /nptl/pthread_mutex_lock.c | |
parent | a3e7aead03d558e77fc8b9dc4d567b7bb8619545 (diff) | |
download | glibc-5289cec4b8812ffe7998df81b74be8ef6e563b5f.tar.gz glibc-5289cec4b8812ffe7998df81b74be8ef6e563b5f.tar.xz glibc-5289cec4b8812ffe7998df81b74be8ef6e563b5f.zip |
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>
Diffstat (limited to 'nptl/pthread_mutex_lock.c')
-rw-r--r-- | nptl/pthread_mutex_lock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nptl/pthread_mutex_lock.c b/nptl/pthread_mutex_lock.c index 0439002454..1f137f6201 100644 --- a/nptl/pthread_mutex_lock.c +++ b/nptl/pthread_mutex_lock.c @@ -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; |