This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Possible clipboard hang fix in the works


On Wed, Mar 24, 2004 at 01:02:28AM -0500, Harold L Hunt II wrote:
>Upon a cursory inspection it should be almost trivial to replace the 
>call to XPeekIfEvent with a simple loop that does the same thing but has 
>a timeout value that prevents it from blocking indefinitely.

Why can't you use select()?  select() takes a timeout value.

cgf


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]