Possible race condition notes

Suhaib Siddiqi ssiddiqi@inspirepharm.com
Mon Apr 9 03:44:00 GMT 2001


>> I sincerely doubt that the problem is in Cygwin's select.  I 
> suspect that
> the race is due more the hack job on the timeout... I mean, 
> it doesn't seem
> correct that XFree86 on Cygwin uses a static timeout of 10 
> milliseconds,
> when all other platforms use the same calculation to 
> determine how long
> select should wait.  XFree86 has been around for awhile and 
> I'm sure we'd
> see other hack jobs on the timeout value if it was the 
> correct thing to do.

I agree.  The hack was specific to previous release of XWin, as I mentioned.
We need to revisit WaitFor.c 

Suhaib

> 
> I believe that the file descriptors being passed to select are network
> sockets only.  User input/all windows messages, are handled 
> in a seperate
> function that does not use select, nor are the windows 
> messages ever added
> to select's list of file descriptors.
> 
> Harold
> 



More information about the Cygwin-xfree mailing list