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 -
|