389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
|
if ((mask & TCL_READABLE) != TCL_READABLE) {
return;
}
channelInstanceData = (struct xvfs_tclfs_channel_id *) channelInstanceData_p;
/*
* If the read call has marked that we have reached EOF,
* do not signal any further
*/
if (channelInstanceData->eofMarked) {
return;
}
event = (struct xvfs_tclfs_channel_event *) Tcl_Alloc(sizeof(*event));
event->tcl.proc = xvfs_tclfs_watchChannelEvent;
event->tcl.nextPtr = NULL;
event->channelInstanceData = channelInstanceData;
channelInstanceData->queuedEvents++;
|
<
<
<
<
<
<
<
<
|
389
390
391
392
393
394
395
396
397
398
399
400
401
402
|
if ((mask & TCL_READABLE) != TCL_READABLE) {
return;
}
channelInstanceData = (struct xvfs_tclfs_channel_id *) channelInstanceData_p;
event = (struct xvfs_tclfs_channel_event *) Tcl_Alloc(sizeof(*event));
event->tcl.proc = xvfs_tclfs_watchChannelEvent;
event->tcl.nextPtr = NULL;
event->channelInstanceData = channelInstanceData;
channelInstanceData->queuedEvents++;
|