Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 0045cc3eaa202035cc6b66b3b4596a9d0e6f6fd4
Ticket: 218577ffffffffffffffffffffffffffffffffff
Tcl_MutexLock doesn't work properly
User & Date: nobody on 2000-10-26 01:02:39
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 1275 Bug
    Version: 8.1b1
    SubmitDate: '1999-02-23'
    LastModified: '1999-03-25'
    Severity: SER
    Status: Released
    Submitter: pat
    ChangedBy: stanton
    OS: Windows NT
    OSVersion: 4.0 SP3
    Machine: X86
    FixedDate: '1999-03-25'
    FixedInVersion: 8.1b3
    ClosedDate: '2000-10-25'
    
    
    Name:
    Andreas Weigl-Pollack
    
    Extensions:
    TestThread.tcl
    
    ReproducibleScript:
    Tcl_MutexLock(&threadMutex);
    Tcl_MutexLock(&threadMutex);
    
    
    
    
    DesiredBehavior:
    According to the manual a thread should deadlock on itself if it tries
    to lock the mutex twice. This isn't true. Two calls of
    Tcl_MutexLock(&threadMutex) don't  cause a deadlock.
    
    
    
    
    
    The result varies depending on platform.  The result should be identical, and the docs should reflect this.  03/24/1999 14:43 - surles -
    
    It will be simpler to document that the recursive behavior of Tcl mutexes is undefined.  People shouldn't be relying on the recursive behavior in any case.
    03/25/1999 11:35 - stanton -
    
    
    
  4. foundin changed to: "obsolete: 8.1b1"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "69. Other"
  10. title changed to: "Tcl_MutexLock doesn't work properly"
  11. type changed to: "Bug"