Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!sdd.hp.com!elroy.jpl.nasa.gov!usc!snorkelwacker.mit.edu!bloom-beacon!dont-send-mail-to-path-lines From: jason@tfs.COM (Jason Venner) Newsgroups: comp.windows.x Subject: Async event handling, how to do it? Message-ID: <9102262217.AA14821@teccb1.TFS> Date: 26 Feb 91 22:17:13 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 18 I have an application (really a minimal rewrite of an old Windowing package to talk to X). The old applications are not event driven (I know I know, but that's the way they go:-() I need a clean way to deal with ExposureEvents that can be done async. I have tried forking a separate thread, and doing a XNextEvent, but that lock's the display and hangs the application. I tried doing a select on the file descriptor, and then doing XCheckWindowEvent, but that hangs the code too. Help! Jason