Path: utzoo!attcan!uunet!lll-winken!ncis.llnl.gov!helios.ee.lbl.gov!pasteur!agate!ucbvax!XEROX.COM!"bryan_kramer.TORHO" From: "bryan_kramer.TORHO"@XEROX.COM Newsgroups: comp.windows.news Subject: testing cps message queue Message-ID: <890119-073103-4742@Xerox> Date: 20 Jan 89 21:19:49 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 20 I have C plus CPS code that would really benefit from knowing when there is no input waiting on PostScriptInput (ie. all the current cps commands from the NeWS server have been handled). One application involves holding a repaint request until all other current requests (user input) have been handled. Could someone please tell me how to do this? I am using a sun4-110 with OS4.01? From my search of the manuals I gather that using SYSTEM V reads might solve the problem although I haven't really studied the details. Of course, the CPS calls use regular io. Any light that can be shed on this topic would be very much appreciated. Thanks Bryan Kramer Xerox Canada Inc. bryan_kramer.torho@xerox.com (416) 733-6377