This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: A possible bug in select()?


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@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]