Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 146486 Details for
Bug 213829
sys-libs/glibc: pthread_join() on HPPA doesn't resume
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Use shared futex in lll_wait_tid().
glibc-hppa-pthread_join.patch (text/plain), 1000 bytes, created by
Guy Martin (RETIRED)
on 2008-03-18 13:46:05 UTC
(
hide
)
Description:
Use shared futex in lll_wait_tid().
Filename:
MIME Type:
Creator:
Guy Martin (RETIRED)
Created:
2008-03-18 13:46:05 UTC
Size:
1000 bytes
patch
obsolete
> >2008-03-28 Guy Martin <gmsoft@tuxicoman.be> > * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: > Use shared futex in lll_wait_tid(). > >diff -uNr ports.orig/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h >--- ports.orig/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h 2008-03-18 13:37:56.000000000 +0100 >+++ ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h 2008-03-18 13:38:30.000000000 +0100 >@@ -325,12 +325,12 @@ > 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 *)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 213829
: 146486