Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: a9f73d63d3aac3cc96f743180f891382eec28349
Ticket: 992108ffffffffffffffffffffffffffffffffff
TclFinalizeLock on Unix not correct.
User & Date: mistachkin on 2005-03-03 14:15:21
Changes

  1. icomment:
    Logged In: YES 
    user_id=113501
    
    Ok. In "tclEvent.c", near line 929:
    
    /*
     * Free synchronization objects.  There really should only
    be one
     * thread alive at this moment.
     */
    TclFinalizeSynchronization();
    
    The above comment clearly indicates it is assumed that only
    one thread should be running at that point in the code.
    
    Further down (actually, the very last thing in Tcl_Finalize):
    
    TclFinalizeLock();
    
    If it is not truly safe to destroy all the mutexes here,
    then there are some other, deeper, and more serious design
    problems here.
    
    
    
  2. login: "mistachkin"
  3. mimetype: "text/plain"
  4. priority changed to: "7 High"
  5. username: "mistachkin"