From: newsham AT lava DOT net (Tim Newsham) Subject: connect vs. signals 7 May 1998 22:54:25 -0700 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit To: cygwin32-developers AT cygnus DOT com putting block_sig_dispatch(); and allow_sig_dispatch(); around the i_connect call in cygwin32_connect() fixes the signal/connect race condition demonstrated in the test program I posted earlier. This should probably be added to the main sources. There's also an i_connect call in socketpair() which probably needs protecting as well, but I haven't bothered doing any tests on it. I could provide diffs, but they're simple and also poluted with other changes I've made. Is there any place I can go to see what the current winsup files look like? Anonymous cvs would be great :) Oh also an issue I mentioned before but haven't heard any feedback on -- winsup has a regexp package in it. This package provides the old non-standard regexp interface. Shouldn't it be replaced with the standard posix regex interface (which implements the same functions but has a slightly different interface)? Tim N.