Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XtAddTimeOu(3) — OSF1 1.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

XtAppAddTimeOut(1)

XtAppNextEvent(1)

XtAppPeekEvent(1)

XtAppPending(1)

XtDispatchEvent(1)

XtRemoveTimeOut(1)

XtTimerCallbackProc(2)

 

Name

XtAddTimeOut — create a timeout value. 

Synopsis

XtIntervalId XtAddTimeOut(interval, proc, client_data)

    unsigned long interval;
    XtTimerCallbackProc proc;
    XtPointer client_data;

Arguments

intervalSpecifies the time interval in milliseconds. 

procSpecifies the procedure to be called when the time expires.  See XtTimerCallbackProc(2). 

client_data
Specifies the argument to be passed to the specified procedure when it is called.

Description

XtAddTimeOut has been superseded by XtAppAddTimeOut. 

The Intrinsics invoke the specified proc when interval elapses and the timeout is removed from the event queue. 

The return value XtIntervalID uniquely identifies the pending timer pseudo-event.  The pending event can be deleted from the queue before the interval expires by calling XtRemoveTimeOut. 

The callback procedure pointer that is invoked when timeouts expire is of type XtTimerCallbackProc. 

XtAppNextEvent and XtAppPeekEvent dispatch timer queue entries. 

See Also

XtAppAddTimeOut(1), XtAppNextEvent(1), XtAppPeekEvent(1), XtAppPending(1), XtDispatchEvent(1), XtRemoveTimeOut(1),
XtTimerCallbackProc(2). 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026