
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_HANDLER * | psComChannel |
| tsCCTALK_OPERATION * | psComOperation |
| volatile unsigned char | qRunning |
| volatile unsigned char | qFinished |
| volatile unsigned char | qDeleteOp |
|
|
Pointer to the tty channel handler |
|
|
Pointer to the cctalk operation to perform |
|
|
A byte to tell us to delete this operation it is no longer needed as the socket has been closed |
|
|
A byte to tell us when this operation is finished |
|
|
A byte to tell us when this operation is running |
1.3.6