HP UX 11i v1 I/O Cards manual Zltmg

Models: UX 11i v1 I/O Cards

1 298
Download 298 pages 31.75 Kb
Page 225
Image 225

 

 

ZCOM C I/F Library Routines

 

 

ZLTMG (3X)

Threads

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

zaddr Terminal to be moved

nzaddr A group member of the new group

PARAMETERSNOTES In the ZCOM subsystem, a group of logical terminals may be defined to link to a single physical terminal. This routine allows a logical terminal to be moved from one terminal group to another, thus all its physical input/output may be handled by a different physical device.

This call is intended for advanced ZCOM programmers, and should be used with care.

RETURNVALUERoutine zltmg 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.

Chapter 4

225

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