XtAppAddTimeOut(), XtRemoveTimeOut() - register and remove time-outs
XtIntervalId XtAppAddTimeOut (XtAppContext app_context,
unsigned long interval,
XtTimerCallbackProc proc,
XtPointer client_data)
void XtRemoveTimeOut (XtIntervalId timer)
The XtAppAddTimeOut(3) function creates a time-out and returns an identifier for it. The time-out value is set to interval. The callback procedure is called when the time interval elapses, and then the time-out is removed.
The XtRemoveTimeOut(3) function removes the time-out. Note that time-outs are automatically removed once they trigger.
X Toolkit Intrinsics - C Language Interface
Xlib - C Language X Interface