Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!usc!samsung!uunet!wrkgrp!jmd From: jmd@wrkgrp.uucp (Joseph M DeAngelo) Newsgroups: comp.windows.x Subject: Xlib event loop for 2 servers from single client ? Message-ID: <1991Jan10.214142.1766@wrkgrp.uucp> Date: 10 Jan 91 21:41:42 GMT Organization: The Workstation Group Lines: 10 I just got a program to handle a board game for 2 players on different servers. It's written in Xlib ( not Xt ). To permit input from either player at any time this program loops looking for events from either server using XEventsQueued. This polling process consumes vast amounts of processor resource. I wrote to the author but his response was to put a 'usleep' wait in the loop. Is there any facility in Xlib to wait for an event from either server? -- what is life but the taking of chances???