Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!ucsd!ucbvax!bloom-beacon!CRC.SKL.DND.CA!jgraham From: jgraham@CRC.SKL.DND.CA (Jay Graham) Newsgroups: comp.windows.x Subject: XtAddTimeOut() and Timed Interrupts. Message-ID: <9008231943.AA01202@crc.skl.dnd.ca> Date: 23 Aug 90 19:43:48 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 26 To any XtAddTimeOut()/Unix experts: We are developing an application on 386/ix and will need time interrupts in the 10s of milleseconds range, however when using XtAddTimeOut() with a 10ms interval we seem to be actually getting around a 20ms interval. We assume that maybe there are communication delays that cause the discrepancy. Obviously since the resolution is better than one second, XtAddTimeOut does not use the Unix alarm system call. We would like to know how XtAddTimeOut (or the X server) is implemented so that it can get millsecond resolution so that we can develop something similar ourselves. Our H/W S/W platform is: ATT 6386/25 ISC 386/ix Version 2.0.2 (System V) ISC X Window System, Version 1.1 (X11R3) If anyone can help please email or post. Thanks in advance Jay Graham (jgraham@crc.skl.dnd.ca) Software Kinetics, Ltd, Ottawa, Ontario, Canada