TTYWAIT

Structure to track and manage clients that are waiting for I/O operations on terminal devices

typedef struct ttywait_entry {
    struct ttywait_entry * next;
    rcvid_t                rcvid;
    int                    scoid;
    int                    coid;
    unsigned int           offset;
    unsigned int           nbytes;
    pid_t                  pid;
    int                    tid;
} TTYWAIT;

Description:

Structure to track and manage clients that are waiting for I/O operations on terminal devices.

The members include:

next

linked list pointer to the next waiting entry.

rcvid
The receive ID of the waiting client.
scoid

The server connection ID.

coid
The offset within the I/O operation.
nbytes

The number of bytes for the operation.

pid

The process ID of the client.

tid

The thread ID of the client.

Page updated: