Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!uunet!ibism!ibism.UUCP!lcp From: lcp@ibism.UUCP (Larry Poleshuck) Newsgroups: comp.windows.x Subject: XtAddTimeOut unreliability Message-ID: <12099@ibism.uucp> Date: 6 Dec 90 19:56:23 GMT Sender: news@ibism.uucp Reply-To: ibism!lcp Organization: Citibank IBISM Lines: 25 I am adding a time out using XtAddTimeOut. It doesn't appear that my time out is reliably being executed, however. The timeout is performed at inconsistent times. For example, when I set the timeout to 5 seconds (i.e. 5000 milliseconds), it is rarely executed after only 5 secs. When there is any user input (even moving the mouse) AND the interval has elapsed, the timeout ALWAYS gets executed immediately. With no user input the timeout will sometimes get executed after a minute or two. Anyone seen this problem? Any ideas? P.S. I am using SunOS 4.1, X11R3, Motif 1.0.3, TeleUSE 1.1. XtAddTimeOut is being called from a C++ routine with the address of an extern "C" routine. My timeout routine then calls XtAddTimeOut again with's its own address, to keep the timeout cycle going. -- Larry Poleshuck Citibank 111 Wall Street New York, NY 10043 Phone: 212-657-7709 Fax: 212-825-8607 E-Mail: uunet!ibism!lcp