PtAppRemoveSignal()
Remove specific signal handling from a context
Synopsis:
int PtAppRemoveSignal( PtAppContext_t app,
sigset_t const *set,
PtSignalProc_t proc,
void *data );
Description:
This function removes Photon signal handling from the context app:
- If set is NULL, this function removes all items that match proc and data.
- If set isn't NULL, this function removes one instance of each specified signal from a list item that matches proc and data. In other words, if you attach it twice, you have to remove it twice.
Currently only the default app context (app == NULL) is supported.
Returns:
- 0
- Success.
- -1
- Nothing has been removed.
Classification:
Photon
| Safety: | |
|---|---|
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |
See also:
PtAppAddSignalProc(), PtAppRemoveSignalProc()
Interprocess Communication and Lengthy Operations in the Programmer's Guide
