---
name: "XtRemoveWorkProc"
section: "3x"
platform: "linux"
package: "libxt-dev"
version: "4.3.0.dfsg.1-14sarge7"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/XtAppAddWorkProc/3x"
---

# XtRemoveWorkProc(3x)

Add and remove background processing procedures

Part of [XtAppAddWorkProc(3x)](/XtAppAddWorkProc/3x.md).

## NAME

XtAppAddWorkProc, XtRemoveWorkProc - Add and remove background processing procedures

## SYNTAX

XtWorkProcId XtAppAddWorkProc(XtAppContext *app\_context*, XtWorkProc *proc*, XtPointer *client\_data*);

void XtRemoveWorkProc(XtWorkProcId *id*);

## ARGUMENTS

- *app\_context*

  Specifies the application context that identifies the application.

- *client\_data*

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

- *proc*

  Specifies the procedure that is.

- *id*

  Specifies which work procedure to remove.

## DESCRIPTION

The *XtAppAddWorkProc* function adds the specified work procedure for the application identified by app\_context.

The *XtRemoveWorkProc* function explicitly removes the specified background work procedure.

## SEE ALSO

XtAppNextEvent(3Xt)\
 *X Toolkit Intrinsics - C Language Interface*\
 *Xlib - C Language X Interface*
