[Previous] [Contents] [Index] [Next]

PtAppRemoveWorkProc()

Remove a WorkProc processing function

Synopsis:

void PtAppRemoveWorkProc( 
                PtAppContext_t app_context,
                PtWorkProcId_t *WorkProc_id );

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. To remove the entry from the default context, specify NULL.

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()

Interprocess Communication and Lengthy Operations in the Photon Programmer's Guide


[Previous] [Contents] [Index] [Next]