ACC Programmer's Reference Guide

210 Chapter4
ZCOM C I/F Library Routines
ZEVENT_RCVR (3X)
Threads
Considerations
This routine may be called from multi-threaded application using the
POSIX (1003.1c) kernel threads API package. This routine has the
following characteristics when called by a multi-threaded application:
PARAMETERS
cancellation point Thread cancellation can occur when a thread calls
this routine.
async-cancel unsafe The calling thread’s cancelability type must be
PTHREAD_CANCEL_DEFERRED if cancellation
is enabled.
async-signal unsafe It cannot be called from a signal handler.
fork unsafe It cannot be called by a child process after fork(2)
but before exec(2).
rzap ZCOM address of the receiver program (required).
action Type of action to perform (required).
ZcDELETE_EVENT - Remove the linkage for the indicated event
classes. That is, those event classes will no longer be delivered to the
program queue specified by the rzap parameter. Events that have
already been queued prior to this call are not deleted.
ZcADD_EVENT - Incrementally add the event classes indicated by
the eclass parameter to the list of events delivered to the program
(specified by the rzap parameter).
ZcREPLACE_EVENT - Atomically replace any previously specified
event classes with new event classes specified by the eclass and einfop
parameters.