XtRemoveWorkProc() XtRemoveWorkProc()
Name
XtRemoveWorkProc - unregister a work procedure.
Synopsis
void XtRemoveWorkProc(id)
XtWorkProcId id;
Inputs
id Identifies the work procedure to unregister.
Description
XtRemoveWorkProc() explicitly removes the specified background work procedure. The id argument is the handle returned by XtAppAd-
dWorkProc() when the procedure was registered.
Usage
Note that a work procedure is removed automatically if it returns True. In many cases, therefore, you do not have to call XtRemove-
WorkProc().
Structures
The XtWorkProcId type is defined as follows:
typedef unsigned long XtWorkProcId;
See Also
XtAppAddWorkProc(1),
XtWorkProc(2).
Xt - Event Handling XtRemoveWorkProc()