Operating systems, development tools, and professional services
for connected embedded systems
for connected embedded systems
![]() |
![]() |
![]() |
![]() |
PtAppRemoveSignal()
Remove specific signal handling from a context
Synopsis:
int PtAppRemoveSignal( PtAppContext_t app,
sigset_t const *set,
PtSignalProc_t proc,
void *data );
Library:
ph
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 application 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(), PtSignalProc_t
Interprocess Communication in the Photon Programmer's Guide
![]() |
![]() |
![]() |
![]() |

![[Previous]](../prev.gif)
![[Contents]](../contents.gif)
![[Index]](../keyword_index.gif)
![[Next]](../next.gif)