Main Page | Data Structures | File List | Data Fields | Globals

tsTHREAD_COMM_OPERATION Struct Reference

Collaboration diagram for tsTHREAD_COMM_OPERATION:

Collaboration graph
[legend]

Detailed Description

This structure is used to spin off a thread to perform a cctalk operation.

This structure is the interface between a serial thread and the server main-line code. When there is a queued cctalk operation for this channel the main-line code fills out this structure with the operation to be processed and sets the running flag. A posix thread is then started and passed a pointer to this structure to perform the operation. This way the server is not blocked while a long cctalk operation is performed.


Data Fields

tsCCT_COMM_HANDLERpsComChannel
tsCCTALK_OPERATIONpsComOperation
volatile unsigned char qRunning
volatile unsigned char qFinished
volatile unsigned char qDeleteOp


Field Documentation

tsCCT_COMM_HANDLER* tsTHREAD_COMM_OPERATION::psComChannel
 

Pointer to the tty channel handler

tsCCTALK_OPERATION* tsTHREAD_COMM_OPERATION::psComOperation
 

Pointer to the cctalk operation to perform

volatile unsigned char tsTHREAD_COMM_OPERATION::qDeleteOp
 

A byte to tell us to delete this operation it is no longer needed as the socket has been closed

volatile unsigned char tsTHREAD_COMM_OPERATION::qFinished
 

A byte to tell us when this operation is finished

volatile unsigned char tsTHREAD_COMM_OPERATION::qRunning
 

A byte to tell us when this operation is running


The documentation for this struct was generated from the following file:
Generated on Thu Jan 20 16:13:26 2005 for Axis cctalk sub-system by doxygen 1.3.6