Remove a WorkProc processing function
void PtAppRemoveWorkProc( PtAppContext_t app_context, PtWorkProcId_t *WorkProc_id );
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().)
See PtAppAddWorkProc().
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PtAppAddWorkProc(), PtMainLoop()
Interprocess Communication and Lengthy Operations in the Photon Programmer's Guide