Please add this patch to current and next glibc patchset.
Created attachment 146486 [details, diff] Use shared futex in lll_wait_tid().
Tested with the dev-libs/glib test suite (which used to hang intermittently and would need a STOP/CONT to resume).
and the results of said test ? you said you ran a test; you didnt say whether the test indicated the patch worked
Used to hang, now it doesn't. :)
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.
fixed in glibc-2.7-r2