On Friday, August 15, 1997 at 3:00:00 AM UTC-4, Glenn Coombs wrote:
I was sure this must be in one of the FAQs but I couldn't see it there. I would like to be able to wait for either a normal XEvent or some other action like data ready on a message queue. Normally I would just use the select() call with the appropriate file descriptors and everything would be fine.
I can't see any way of doing this under X11. If I use XNextEvent() then that blocks and I can't handle the other source of input. If I use one of the non-blocking versions of XNextEvent() then I have to busy poll alternately checking the 2 sources of input.
There must be a way around this ?
--
Glenn Coombs, On the other hand, eagles soar, but Philips Research Labs, weasels don't get sucked into jet engines. Redhill,
ENGLAND. Tel: +44 1293 815744 email: glenn@xxx.research.philips.com
This post is old as dirt, but it popped up on google when I was searching. I've been looking into this. If anyone posts after me then I will contribute... Otherwise don't want to waste time on a really old post...
Glenn@research, I xxx your email...
Thanks,
Dr. Wolfe
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)