PtAppRemoveWorkProc()

Remove a WorkProc processing function

Synopsis:

void PtAppRemoveWorkProc( 
                PtAppContext_t app_context,
                PtWorkProcId_t *WorkProc_id );

Library:

ph

Description:

This routine removes a WorkProc function from the WorkProc event-processing stack.

The app_context argument indicates which application context the WorkProc function will be removed from. Currently, only the default context (app_context == NULL) is supported.

The WorkProc_id argument points to a PtWorkProcId_t structure that describes the WorkProc entry to be removed. (This structure was returned by a previous call to PtAppAddWorkProc().)

Examples:

See PtAppAddWorkProc().

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtAppAddWorkProc(), PtMainLoop()

Parallel Operations in the Photon Programmer's Guide