[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cygwin-xfree
Subject:    Re: xwinclip re selection polling
From:       "Chris Twiner" <c_twiner () hotmail ! com>
Date:       2002-09-01 3:28:20
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic