X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org X-Mail-Handler: Dyn Standard SMTP by Dyn X-Report-Abuse-To: abuse AT dyndns DOT com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX18KDUxNHcdNCZyaKCWv/jeA Date: Fri, 8 Feb 2013 09:57:36 -0500 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: non-blocking accept() can hang. Message-ID: <20130208145736.GB1184@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <1833914054 DOT 20130205154611 AT mtu-net DOT ru> <5114D604 DOT 8000807 AT towo DOT net> <886833851 DOT 20130208170514 AT mtu-net DOT ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <886833851.20130208170514@mtu-net.ru> User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Fri, Feb 08, 2013 at 05:05:14PM +0400, Andrey Repin wrote: >Greetings, Thomas Wolff! > >>>>>> I found that non-blocking accept() can hang. >>>>> [...] >>> ... >>> ... this issue >>> might be fixed in latest snapshot, and you would be better to try it out and >>> see if that's true. >> Achim Gratz responded: >>> It was clear from your post that you were running the release version, thank >>> you. I've compiled your program and it does seem to work correctly, I'm running >>> the latest snapshot. >> Just curious; I guess this is related to the recent tuning of select(): >> http://cygwin.com/ml/cygwin/2013-01/msg00145.html >> Same cause, same fix? > >More likely, it was exactly this case, rather than the same. But to be >certain, it'd be much better, if OP would try it out on his system and report >any remaining issues, or a success, if no issues were left. No, it's not the same thing. cgf -- 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