Threads Considerations

PARAMETERS

NOTES

RETURNVALUE

ZCOM C I/F Library Routines

ZLTMX (3X)

This routine may be called from a 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:

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

 

 

zap

ZCOM address.

 

 

 

mode

Multiplexing control mode

 

 

 

ZcENB_OUTB_MLTPLXG

(1) - Enable outbound multiplexing

 

ZcENB_INB_MLTPLXG

(2)

- Enable inbound multiplexing

 

ZcDSB_OUTB_MLTPLXG

(3)

- Disable outbound multiplexing

 

ZcDSB_INB_MLTPLXG

(4)

- Disable inbound multiplexing

For a more detailed description of the multiplexing facilities available under ZCOM, see the section of the manual under the heading “ZCOM Message Handling”.

Routine zltmx returns 0 if successful. Otherwise, a non-zeroerror code is returned. See /opt/acc/include/zcom/zcomsys.h for the list of ZCOM error codes and their meanings.

228

Chapter 4

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