HP UX 11i v1 I/O Cards manual 210

Models: UX 11i v1 I/O Cards

1 298
Download 298 pages 31.75 Kb
Page 210
Image 210

ZCOM C I/F Library Routines

ZEVENT_RCVR (3X)

Threads

This routine may be called from multi-threaded application using the

Considerations

POSIX (1003.1c) kernel threads API package. This routine has the

 

following characteristics when called by a multi-threaded application:

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).

PARAMETERS

 

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.

210

Chapter 4

Page 210
Image 210
HP UX 11i v1 I/O Cards manual 210