Artifacts Associated With Ticket 218200
Ticket change [7b98daa2c2] (rid 96934) by nobody on 2000-10-26 00:54:25:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
OriginalBugID: 2433 Bug Version: 8.2b1 SubmitDate: '1999-07-22' LastModified: '1999-07-30' Severity: MED Status: Closed Submitter: techsupp ChangedBy: redman OS: Windows NT OSVersion: 4.0 sp5 Machine: X86 FixedDate: '2000-10-25' FixedInVersion: NA ClosedDate: '1999-07-30' Name: David Gravereaux CVS: RCS: @(#) $Id: tclObj.c,v 1.9 1999/06/15 01:16:23 hershey Exp $ ReproducibleScript: N/A I can only explain it. ObservedBehavior: In a multithreaded extension I am working on, I have to create Tcl_Obj copies from outside the thread context of Tcl. In rare instances, there is a possibility that the refcount will be greater than 1 (Tcl_IsShared returns true) and I appropriately Tcl_DuplicateObj. Although I have realized that the copies are only used in a "read-only" fashion and I don't need to Tcl_DuplicateObj, it did frighten me to see that Tcl_DuplicateObj isn't thread-safe. As the Object allocator is a global entity, I do feel that access to it deserves a mutexlock. The function is already threadsafe. David agrees. -- 07/30/1999 redman - foundin initialized to: "obsolete: 8.2b1"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "69. Other"
- title initialized to: "Tcl_DuplicateObj needs thread safety"
- type initialized to: "Bug"
Ticket change [03153842a5] (rid 119758) by welch on 2000-10-26 08:16:56:
- closedate changed to: "2000-10-26T01:16:56"
- closer changed to: "welch"
- priority changed to: "2"
- resolution changed to: "Fixed"
- status changed to: "Closed"
Ticket change [ede01375eb] (rid 103977) by dgp on 2001-04-18 21:36:23:
- closedate changed to: "2001-04-18T14:36:23"
- closer changed to: "dgp"
- subsystem changed to: "10. Objects"