Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: e5aee055074618b7f702fab9fb3348472ffea196
Ticket: 445672ffffffffffffffffffffffffffffffffff
Tcl mutexes behaviour not consistent
User & Date: vincentdarley on 2001-08-16 15:47:34
Changes

  1. icomment:
    Logged In: YES 
    user_id=32170
    
    In the threads man-page:
    
    "The result of locking a mutex twice from the same thread 
    is undefined. On some platforms it will result in a 
    deadlock."
    
    One can normally code things up so that you don't rely on 
    the non-deadlock behaviour (e.g. that's what I did with the 
    new vfs code), but I guess if we can support the more 
    flexible behaviour simply and efficiently on _all_ 
    platforms, it's probably a good idea.
    
    Would it be that hard to fix itcl so it doesn't deadlock, 
    though?
    
    
    
  2. login: "vincentdarley"
  3. mimetype: "text/plain"
  4. username: "vincentdarley"