Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 4791531cf5b0c77ce03f2a2ccbf6ee662fa631eb
Ticket: 923072ffffffffffffffffffffffffffffffffff
atfork patch
User & Date: vasiljevic on 2004-12-05 16:53:52
Changes

  1. icomment:
    Logged In: YES 
    user_id=95086
    
    The problem is as I already described: 
    This patch is looping thru all Tcl-created mutexes in an linear 
    fashion but this might lead to deadlocks I'm afraid.  
    The Tcl mutexes are of dynamic nature and users (extensions)  
    can create and *lock* them in any *arbitrary* order.  
    This will lead to deadlock if some extension is holding a lock-hierarchy 
    and somebody (another thread) tries to fork at that time. 
    This is very tricky business... 
    
    
  2. login: "vasiljevic"
  3. mimetype: "text/plain"
  4. username: "vasiljevic"