Created attachment 151071 [details] dlopenable libthr I request pre-commit exp-run for the patch which integrates libthr into libc as plugin, allowing dlopen("libpthread.so") to work instead of breaking the process which attempted it. This should be very useful for programs which allow loadable modules, where modules may be linked with threading library. I have somewhat low expectation on the detecting breakage from the build-only tests, but I think this is best we can do anyway. Patch was extensively tested by Peter Holm with stress2.
Take for exp-run
Created attachment 151127 [details] libhtr_dlopen patch v2
Previous version of the patch has significant issue with fork(2) in the threaded process. Update should fix it.
Looks ok. With the 1st patch, lang/pike78 was hanging. With the 2nd patch, I couldn't find regressions.
v2 landed as base r276630. Did you forget to close the bug or plan to continue?