public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
From: Jon TURNEY <jon.turney@dronecode.org.uk>
To: cygwin-xfree@cygwin.com
Subject: Re: Slow response to keypresses in xorg-server-1.8.0-1
Date: Sat, 07 Aug 2010 22:07:00 -0000	[thread overview]
Message-ID: <4C5DD910.9050809@dronecode.org.uk> (raw)
In-Reply-To: <AANLkTin9mOFFkk21dYf+CT2uMXr=x5bnaNsTkH0w0cka@mail.gmail.com>

On 07/08/2010 16:39, Reini Urban wrote:
> 2010/8/5 Laurent Montaron<lpm@pobox.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.

That's interesting.

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
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


  reply	other threads:[~2010-08-07 22:07 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-01 13:49 Ken Brown
2010-05-02 20:52 ` Ken Brown
2010-05-18 18:52   ` Ryan Johnson
2010-06-30 17:40   ` Jon TURNEY
2010-07-01  2:02     ` Ken Brown
2010-07-01 21:07     ` Marco Atzeri
2010-07-19 14:11     ` Simon Marlow
2010-08-03 16:43     ` Ryan Johnson
2010-08-05 18:53     ` Laurent Montaron
2010-08-07 15:39       ` Reini Urban
2010-08-07 22:07         ` Jon TURNEY [this message]
2010-08-08 11:05           ` Andy Koppe
2010-08-29 14:17             ` /dev/windows and select() [was Re: Slow response to keypresses in xorg-server-1.8.0-1] Jon TURNEY
2010-08-29 14:41               ` Corinna Vinschen
2010-08-29 14:50                 ` Corinna Vinschen
2010-08-29 15:09                   ` Corinna Vinschen
2010-08-30 11:23                     ` Trollope, David
2010-08-30 12:05               ` Corinna Vinschen
2010-08-30 12:33                 ` Jon TURNEY
2010-05-20 23:26 Slow response to keypresses in xorg-server-1.8.0-1 J. Offerman
2010-06-02 16:52 Tony Hammitt
2010-06-10 16:42 Joseph Ess
2010-06-29 20:40 Robert Daasch
2010-07-01 20:49 Leigh Orf
2010-07-01 21:24 ` Larry Hall (Cygwin X)
2010-07-19 14:52 Angelo Graziosi
2010-07-19 15:45 ` Simon Marlow
2010-07-19 23:01   ` Angelo Graziosi
2010-07-20  8:07     ` Simon Marlow
2010-07-20  8:43       ` Angelo Graziosi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C5DD910.9050809@dronecode.org.uk \
    --to=jon.turney@dronecode.org.uk \
    --cc=cygwin-xfree@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).