Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ae2571cb4c717eef388787df684344869697ab87
Ticket: 462317ffffffffffffffffffffffffffffffffff
Notification when there's no data
User & Date: andreas_kupries on 2001-09-18 05:52:20
Changes

  1. icomment:
    Logged In: YES 
    user_id=75003
    
    Does the deadlock happen with Tcl 8.3.3. too ?
    Please attach the expect script too, if possible.
    (Just so that we can take a look at the tcl side of the 
    problem too).
    
    It might be interesting [x] to switch the channel into non-
    blocking mode and see what happens.
    
    [x] I do not know how much control we have over the created 
    channel. 
    
    Note: The timer in question is activated when bytes are 
    waiting in the input queue of the channel in question. It 
    basically generates artifical fileevents to push these 
    bytes into the channel handlers.
    
    Problem is, if there are for example 12 bytes waiting in 
    the tcl buffers and then a blocking read is issued from the 
    eventhandler for more than 2 bytes the system will try to 
    read the missing bytes from the OS. This can cause the 
    deadlock too.
    
    Are you able to trace execution inside of expact too ?
    
    
    
  2. login: "andreas_kupries"
  3. mimetype: "text/plain"
  4. username: "andreas_kupries"