mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-08 18:30:18 +00:00
2008-06-17 Guy Martin <gmsoft@tuxicoman.be>
[BZ #5957] * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Use shared futex in lll_wait_tid().
This commit is contained in:
parent
1ba025a9a2
commit
6f85344ee3
@ -1,3 +1,9 @@
|
||||
2008-06-17 Guy Martin <gmsoft@tuxicoman.be>
|
||||
|
||||
[BZ #5957]
|
||||
* sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h:
|
||||
Use shared futex in lll_wait_tid().
|
||||
|
||||
2008-05-12 Aurelien Jarno <aurelien@aurel32.net>
|
||||
|
||||
[BZ #6506]
|
||||
|
@ -325,12 +325,12 @@ extern int lll_unlock_wake_cb (lll_lock_t *__futex) attribute_hidden;
|
||||
thread ID while the clone is running and is reset to zero
|
||||
afterwards. */
|
||||
#define lll_wait_tid(tid) \
|
||||
do \
|
||||
{ \
|
||||
__typeof (tid) __tid; \
|
||||
while ((__tid = (tid)) != 0) \
|
||||
lll_futex_wait (&(tid), __tid, 0); \
|
||||
} \
|
||||
do \
|
||||
{ \
|
||||
__typeof (tid) __tid; \
|
||||
while ((__tid = (tid)) != 0) \
|
||||
lll_futex_wait (&(tid), __tid, LLL_SHARED); \
|
||||
} \
|
||||
while (0)
|
||||
|
||||
extern int __lll_timedwait_tid (int *, const struct timespec *)
|
||||
|
Loading…
Reference in New Issue
Block a user