This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug build/21601] glibc-2.25: unknown type name 'lll_futex_timed'


https://sourceware.org/bugzilla/show_bug.cgi?id=21601

--- Comment #3 from Andrej Valek <andrej.valek at siemens dot com> ---
Comment on attachment 10147
  --> https://sourceware.org/bugzilla/attachment.cgi?id=10147
proposal patch to fix "unknown type name 'lll_futex_timed'"

>diff --git a/nptl/pthread_mutex_timedlock.c b/nptl/pthread_mutex_timedlock.c
>index a4beb7b..32d2526 100644
>--- a/nptl/pthread_mutex_timedlock.c
>+++ b/nptl/pthread_mutex_timedlock.c
>@@ -284,7 +284,7 @@ pthread_mutex_timedlock (pthread_mutex_t *mutex,
> 	  /* Block using the futex.  */
> #if (!defined __ASSUME_FUTEX_CLOCK_REALTIME \
>      || !defined lll_futex_timed_wait_bitset)
>-	  lll_futex_timed wait (&mutex->__data.__lock, oldval,
>+	  lll_futex_timed_wait (&mutex->__data.__lock, oldval,
> 				&rt, PTHREAD_ROBUST_MUTEX_PSHARED (mutex));
> #else
> 	  int err = lll_futex_timed_wait_bitset (&mutex->__data.__lock,
>-- 
>2.1.4
>

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]