This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: xwinclip re selection polling
- From: "Chris Twiner" <c_twiner at hotmail dot com>
- To: cygwin-xfree at cygwin dot com
- Date: Sun, 01 Sep 2002 03:28:20 +0000
- Subject: Re: xwinclip re selection polling
- Bcc:
- Reply-to: cygwin-xfree at cygwin dot com
Hi All,
I think I've just identified a bug with select on /dev/windows. According
to the select code for the windows device it does a if (peekmessage()) then
in xwinclip it does the flushwindows upon select returning.
I've found a wierd circumstance were select returns but when the
flushwindows function returns there is no message on the queue. As the
select believes there is but windows doesn't it causes an infinite loop.
Don't know how to reproduce yet but it has been after reconnecting (longjmp
and setjmp) that I've noticed.
I will investigate more later. I've got a log from the xwinclip output and
I'll try to find a reproducable case.
Has anyone noticed anything similar before with /dev/windows?
Chris
_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com