Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ad1ade8122ad0a378286d0e0d75c59c909cece48
Ticket: 1093037fffffffffffffffffffffffffffffffff
Guarantee socket channel name unique
User & Date: dkf on 2005-01-01 23:42:53
Changes

  1. assignee changed to: "hobbs"
  2. icomment:
    Logged In: YES 
    user_id=79902
    
    Currently we prefer to expose the underlying ID since that's
    at least somewhat useful sometimes under Unix (it gives you
    a chance to guess what channel was associated with a
    descriptor when you are poking around in /proc, for
    example). Well, unless you're messing around with redoing
    the standard channels that is. :^)
    
    Given that, and the fact that it is easy for the application
    itself to assign unique IDs that are at least as meaningful
    (e.g. with the help of an array), I don't feel especially in
    favour of this RFE either. Since any external reference can
    get mixed up anyway (low-level FDs *are* reused quickly, and
    nothing outside the Tcl world would inherently know about
    any higher-level stuff) I don't see the advantage in what
    you propose, and I do see at least one disadvantage.
    
    I understand that you want to have some reference that lasts
    some time past the time that the channel gets closed, but I
    do not think that that's something that the core can really
    solve for you. You have to understand the persistence
    properties yourself (e.g. how long should a zombie socket
    last? 0.5 seconds? 30 seconds? 30 minutes? Anything at all
    long and the very-high-throughput crowd *will* complain.)
    and that pushes it into the higher-level functionality domain.
    
    To sum up: I agree with Jeff, and with two core people
    *against* it, this RFE isn't likely to go anywhere. And you
    can work around it.
    
    
  3. login: "dkf"
  4. mimetype: "text/plain"
  5. subsystem changed to: "25. Channel System"
  6. username: "dkf"