This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


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

RE: Possible race condition notes




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


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