GNOME Bugzilla – Bug 136539
child-test hangs on LWP implemented thread platforms
Last modified: 2011-02-18 16:07:18 UTC
If threads are implemented using light weight processes then child-test hangs when make check is issued as follows: make check-TESTS make[4]: Entering directory `/files0/home/avrc/external/glib/build/i686-redhat-linux-gnu/tests' PASS: atomic-test PASS: array-test PASS: cxx-test whee! created pid: 1402 (ttl 10) whee! created pid: 1403 (ttl 20) <hangs> I have solved this by merging in jrb's updated test program from: http://mail.gnome.org/archives/gtk-devel-list/2003-July/msg00155.html Note that this was changed at Owen's suggestion to the current implementation, See the end of: http://mail.gnome.org/archives/gtk-devel-list/2003-July/msg00229.html
Created attachment 25332 [details] [review] Proposed fix
*** Bug 135925 has been marked as a duplicate of this bug. ***
Additionally to updating the test program we should also really mention in the docs, that for multithreading it is not going to work for linux pior to 2.6, That was also the plan according to http://mail.gnome.org/archives/gtk-devel-list/2003-July/msg00176.html
Created attachment 25362 [details] [review] same patch with Changelog entry
Committed.