On 9/1/2010 1:12 PM, Magnus Holmgren wrote:
To test this, I removed the call to sigproc_init in dll_crt0_0 and made sure it was always called in dll_crt0_1 instead. Suddenly the sigp thread started executing immediately, and its initialization was complete long before wait_for_sigthread was called.
Note that Christopher Faylor (cgf) just committed a change today (rev 1.383 dcrt0.cc) that removed the call to wait_for_sigthread() in dll_crt0_1().
-Edward PS. Thanks for looking into this! -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple