Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 6e012d0da710152d25661d5ab95e83f58c6c1da5
Ticket: 1077210fffffffffffffffffffffffffffffffff
revise mutex in AliasCreate
User & Date: dkf on 2004-12-02 16:25:10
Changes

  1. icomment:
    Logged In: YES 
    user_id=79902
    
    Why do we have a hash table for alias targets at all? It
    looks to me like a deque would be the perfect data structure
    here (and cheaper in terms of memory too?) and that wouldn't
    need such a piece of mutex-protected state at all.
    
    The mutex-protected stuff in tclNamesp.c should be replaced
    with a per-thread counter.
    
    This is a candidate for fixing once we've got 8.5a2 out the
    door.
    
    
  2. login: "dkf"
  3. mimetype: "text/plain"
  4. username: "dkf"