Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: e92b5470696a264958d6dc5a57f33963763ccffb
Ticket: 2826430fffffffffffffffffffffffffffffffff
Channel name recycling is dangerous
User & Date: coldstore on 2009-07-24 17:28:51
Changes

  1. icomment:
    These are all valid points, and it is certainly a judgement call.  I don't mind which is chosen, but I would very much like either to be implemented, as the problems caused by chan name reuse for sockets are significant to me.
    
    The only real advantage of the approach I suggested is, as previously stated, some additional expressive power.  It does come at a cost, as does its use.
    
    Either way, I'm happy.   The approach suggested by Alexandre is also quite simple to implement - reflected channels already do it (tclIORChan.c:2041 NextHandle function) and requires no additional documentation unless one is feeling kindly toward people who may have relied upon undocumented side-effects of socket naming in the past.
    
    
    
  2. login: "coldstore"
  3. mimetype: "text/plain"
  4. username: "coldstore"