delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/02/08/08:21:24

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KAM_THEBAT,KHOP_THREADED,SPF_SOFTFAIL
X-Spam-Check-By: sourceware.org
Date: Fri, 8 Feb 2013 17:05:14 +0400
From: Andrey Repin <anrdaemon AT freemail DOT ru>
Reply-To: Andrey Repin <cygwin AT cygwin DOT com>
Message-ID: <886833851.20130208170514@mtu-net.ru>
To: Thomas Wolff <towo AT towo DOT net>, cygwin AT cygwin DOT com
Subject: Re: non-blocking accept() can hang.
In-Reply-To: <5114D604.8000807@towo.net>
References: <CANjopZGmp+xaUg1Sn2FTmb77igMk8R=Lp9yBWyeDtDj3RP5R=g AT mail DOT gmail DOT com> <loom DOT 20130205T082932-242 AT post DOT gmane DOT org> <CANjopZHH2kv0s0pitt0beFiC=tsP5bOsSBJ8TBhSWnSD-iP7fg AT mail DOT gmail DOT com> <1833914054 DOT 20130205154611 AT mtu-net DOT ru> <5114D604 DOT 8000807 AT towo DOT net>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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.


--
WBR,
Andrey Repin (anrdaemon AT freemail DOT ru) 08.02.2013, <17:02>

Sorry for my terrible english...


--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019