Name
XtAddWorkProc — register a work procedure for an application.
Synopsis
XtWorkProcId XtAddWorkProc(proc, client_data)
XtWorkProc proc;
XtPointer client_data;
Arguments
procSpecifies the procedure to be called when the application is idle.
client_data
Specifies the argument to be passed to the specified procedure when it is called.
Description
XtAddWorkProc has been superseded by XtAppAddWorkProc. XtAddWorkProc registers a function that will be called by Xt when there are no events or other input to process.
XtWorkProc(2) discusses the responsibilities of the application’s background processing routine.