Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com From: Chris Faylor Date: Fri, 12 May 2000 23:31:42 -0400 To: cygwin AT sourceware DOT cygnus DOT com Subject: Re: A possible bug in select()? Message-ID: <20000512233142.A2715@cygnus.com> Reply-To: cygwin AT sourceware DOT cygnus DOT com Mail-Followup-To: cgf AT cygnus DOT com, cygwin AT sourceware DOT cygnus DOT com References: <87ln1fy4h6 DOT fsf AT lucy DOT mtth1 DOT on DOT wave DOT home DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.1.12i In-Reply-To: <87ln1fy4h6.fsf@lucy.mtth1.on.wave.home.com>; from dimas@home.com on Fri, May 12, 2000 at 03:04:53PM -0400 On Fri, May 12, 2000 at 03:04:53PM -0400, Dmitry Yaitskov wrote: >On my system, this assert at the end happens now and then, esp. when >I'm running gnus, and there is some windows showing - hiding activity. >As far as I could understand, this should not happen according to >select() docs - i.e. if (badly_p), select() is called with the timeout >parameter set to 0, which means a blocking call. I have put a >workaraound in my copy of event-msw.c, which basically has a while loop >around select(), and it helps - but does not seem right to me. Anybody >got any ideas? Thanks. > >FWIW, I've been seeing this since XEmacs 21.2.b26, and a mid-december >snapshot of cygwin. I'm using the net relase 1.1 now, and XEmacs >21.2.b33. I do have an impression that the situation became harder to >repro with cygwin 1.1, but it still happened. I don't exactly understand whats going on but I've made some changes to select which will show up in tonight's snapshot. The changes just try to absolutely ensure that select never returns 0 unless there is a timeout. http://sourceware.cygnus.com/cygwin/snapshots/ cgf -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com