Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 213829 - sys-libs/glibc: pthread_join() on HPPA doesn't resume
Summary: sys-libs/glibc: pthread_join() on HPPA doesn't resume
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL: http://sources.redhat.com/bugzilla/sh...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-18 13:45 UTC by Guy Martin (RETIRED)
Modified: 2008-03-23 15:13 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Use shared futex in lll_wait_tid(). (glibc-hppa-pthread_join.patch,1000 bytes, patch)
2008-03-18 13:46 UTC, Guy Martin (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Guy Martin (RETIRED) gentoo-dev 2008-03-18 13:45:37 UTC
Please add this patch to current and next glibc patchset.
Comment 1 Guy Martin (RETIRED) gentoo-dev 2008-03-18 13:46:05 UTC
Created attachment 146486 [details, diff]
Use shared futex in lll_wait_tid().
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2008-03-18 20:48:19 UTC
Tested with the dev-libs/glib test suite (which used to hang intermittently and would need a STOP/CONT to resume).
Comment 3 SpanKY gentoo-dev 2008-03-19 02:10:12 UTC
and the results of said test ?  you said you ran a test; you didnt say whether the test indicated the patch worked
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2008-03-19 02:26:53 UTC
Used to hang, now it doesn't. :)
Comment 5 Guy Martin (RETIRED) gentoo-dev 2008-03-19 08:35:51 UTC
Here is the test case I used :
https://www.tuxicoman.be/temp/pthread_join-test.c

Without the patch, the last line you see is "done" and the app never finish.
Comment 6 SpanKY gentoo-dev 2008-03-23 15:13:29 UTC
fixed in glibc-2.7-r2