Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 180f912e613ed012bf42cb4544500d9c108e57a3
Ticket: 992108ffffffffffffffffffffffffffffffffff
TclFinalizeLock on Unix not correct.
User & Date: vasiljevic on 2007-06-30 22:54:24
Changes

  1. icomment:
    Logged In: YES 
    user_id=95086
    Originator: NO
    
    Summary: Joe is willing to get a clean memory
    on Tcl_Finalize and to get rid of all Tcl-allocated
    sync primitives (mutexes) including those defined
    statically with the PTHREAD_MUTEX_INITIALIZER macro.
    
    I still do think this is not a good idea and that those
    static mutexes should be simply left in place. 
    As they do not present leaks per-se. They just 
    exists. If the OS pthread implementation really allocates
    some memory to create them, this is no problem as 
    this operation is (should be) done only once.
    
    Attempt to garbage-collect sync primitives is 
    always a VERY tricky stuff and usually ends up
    in having to add more mutexes which in turn 
    drives the effort ad-absurdum...
    
    I will still leave this ticket open to serve as 
    reminder.
    
    
    
  2. login: "vasiljevic"
  3. mimetype: "text/plain"
  4. resolution changed to: "Wont Fix"
  5. username: "vasiljevic"