Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 8c03cadbc908bf1f653d04be6a5e24fb52b49752
Ticket: 2826430fffffffffffffffffffffffffffffffff
Channel name recycling is dangerous
User & Date: andreas_kupries on 2009-07-25 02:56:11
Changes

  1. icomment:
    Note our ability to share/transfer channels among slave interps and also to transfer between threads. 
    
    The Tcl_GetUnique() result is only unique per-interp, and now we can get problems with such transfers when two channels get the same id in different interps, and then we want to transfer/share one over.
    
    The existing scheme avoided that because the names were unique per the whole process.
    Any new scheme should preserve this.
    
    
  2. login: "andreas_kupries"
  3. mimetype: "text/plain"
  4. username: "andreas_kupries"