Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ PtAppRemoveSignal

Media Vault

Software Library

Restoration Projects

Artifacts Sought

PtAppRemoveSignal

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

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] [Contents] [Index] [Next]

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026