This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
RE: Possible race condition notes
- To: "'Harold Hunt'" <huntharo at msu dot edu>, "Cygx (E-mail)" <cygwin-xfree at sources dot redhat dot com>
- Subject: RE: Possible race condition notes
- From: Suhaib Siddiqi <ssiddiqi at inspirepharm dot com>
- Date: Mon, 9 Apr 2001 06:43:54 -0400
>> 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
>