This is the mail archive of the
mailing list for the Cygwin XFree86 project.
Re: Slow response to keypresses in xorg-server-1.8.0-1
- From: Jon TURNEY <jon dot turney at dronecode dot org dot uk>
- To: cygwin-xfree at cygwin dot com
- Date: Sat, 07 Aug 2010 23:07:12 +0100
- Subject: Re: Slow response to keypresses in xorg-server-1.8.0-1
- References: <4BDC3161.email@example.com> <4BDDE5F1.firstname.lastname@example.org> <4C2B8171.email@example.com> <4C5B08AE.firstname.lastname@example.org> <AANLkTin9mOFFkk21dYf+CT2uMXr=x5bnaNsTkH0w0cka@mail.gmail.com>
- Reply-to: cygwin-xfree at cygwin dot com
On 07/08/2010 16:39, Reini Urban wrote:
2010/8/5 Laurent Montaron<email@example.com>:
The workaround in XWin.20100630-git-bc2f74e105146c36.exe definitely fixes
the problem. I have been running with it for two days now. Did anyone find
out if root cause is a bug in /dev/windows implementation or something else?
It just smells like so, because my perl-tk patches to use /dev/windows
as messageloop fail, while the windows loop works fine.
Hmmm, looking again at the implementation of select(), I don't immediately see
that when waiting on /dev/windows, it checks that the message queue has old
messages on it before waiting. The MSDN documentation for
MsgWaitForMultipleObjects() seems to says that messages which had arrived
before the last PeekMessage() etc. aren't considered new and so don't end the
wait? But I could easily be missing something...
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html