[Previous] [Contents] [Next]

iofunc_notify_remove()

Remove notification entries from list

Synopsis:

#include <sys/iofunc.h>

void iofunc_notify_remove( resmgr_context_t * ctp,
                           iofunc_notify_t * nop );

Library:

libc

Description:

The iofunc_notify_remove() function removes all of the entries associated with the current client from the notification list passed in nop. The client information is obtained from the ctp.

If the ctp pointer is NULL, then all of the notify entries will be removed. A resource manager generally calls this function, with NULL as the ctp in the close_ocb callout, to clean up all handles associated with this connection. If the handles are shared between several connections, then the ctp should be provided to clean up after each client.

Examples:

See the "Writing a Resource Manager" chapter in the Programmer's Guide.

Classification:

QNX 6

Safety:
Cancellation point No
Interrupt handler No
Signal handler Yes
Thread Yes

See also:

iofunc_notify(), iofunc_notify_trigger()


[Previous] [Contents] [Next]