172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
|
* opening and dropped on channel close. This also covers the reference
* from gWatchingChannelList since queueing / dequeuing from that list
* happens in conjunction with channel operations.
* - the Tcl event queue entries. This reference is added when the event
* is queued and dropped on receipt.
*/
typedef struct ConsoleChannelInfo {
HANDLE handle; /* Console handle */
Tcl_ThreadId threadId; /* Id of owning thread */
struct ConsoleChannelInfo *nextWatchingChannelPtr;
/* Pointer to next channel watching events. */
Tcl_Channel channel; /* Pointer to channel structure. */
DWORD initMode; /* Initial console mode. */
int numRefs; /* See comments above */
int permissions; /* OR'ed combination of TCL_READABLE,
|
|
|
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
|
* opening and dropped on channel close. This also covers the reference
* from gWatchingChannelList since queueing / dequeuing from that list
* happens in conjunction with channel operations.
* - the Tcl event queue entries. This reference is added when the event
* is queued and dropped on receipt.
*/
typedef struct ConsoleChannelInfo {
HANDLE handle; /* Console handle */
Tcl_ThreadId threadId; /* Id of owning thread */
struct ConsoleChannelInfo *nextWatchingChannelPtr;
/* Pointer to next channel watching events. */
Tcl_Channel channel; /* Pointer to channel structure. */
DWORD initMode; /* Initial console mode. */
int numRefs; /* See comments above */
int permissions; /* OR'ed combination of TCL_READABLE,
|