This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: gettime time travels after suspend
> > There is a similar problem here with timeouts passd to
> > WaitForSingleObjectEx, and WaitForMultipleObjectsEx. I was
> > thinking of generating a patch that does a single retry when
> > a Wait* times out. Is the consensus that this would be useful or not?
>
> I think it depends on *where* the Wait* function is called. In various
> pthread calls for instance, we should not retry - because the timeouts
> are passed in as absolute values, not as elapsed values.
That's true, but I was thinking primarily about internal synchronisation
calls.
Hmm - I wonder why those values were made absolute though.
Chris
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/