Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 785a2a4481a7b198c06448c5f41f44d3c4bd96f4
Ticket: 462317ffffffffffffffffffffffffffffffffff
Notification when there's no data
User & Date: kogorman on 2001-09-19 06:53:50
Changes

  1. icomment:
    Logged In: YES 
    user_id=326095
    
    Print what lists?  The printing in the trace
    is all done by strace(1).  Even the printf()
    output is here because strace catches the
    underlying write(2) call.  That actual output
    goes to a log file separately from the trace.
    
    It seems expect has been given a notification,
    so it's doing a read.  It hasn't tested how much
    data there is, so is relying on semantics much
    like a unix read(2) from a socket, which will
    give a short reply if there's not enough data.
    It only blocks if there's no data at all.
    
    I think the right question to be asking is if there's
    a way to get tcl to act like that, and if so, what
    is missing?
    
    If that behavior is not available at all, then Don
    Libes has a harder job, but we're going to need
    to know the details of what he can rely on and
    what he can't.
    
    
  2. login: "kogorman"
  3. mimetype: "text/plain"
  4. username: "kogorman"