OriginalBugID: 4199 Bug
Version: 8.3
SubmitDate: '2000-02-17'
LastModified: '2000-05-28'
Severity: CRIT
Status: Released
Submitter: techsupp
ChangedBy: hobbs
RelatedBugIDs: 4193 4005
OS: All Windows
FixedDate: '2000-05-28'
FixedInVersion: 8.4a1
ClosedDate: '2000-10-25'
Name:
jean ANDRE
ReproducibleScript:
Hello, scriptics team,
Well, related to my previous email, I confirm there is not a really ?bug? to
the TCL core BUT and is not the least, condition & mutex variables allocated
inside an object seem not to be a ?good? thing 'cause TCL remember the adress of the variables those old mutex and condition. As the object is destroyed, its variables (those maintain mutex and condition) are not accessible anymore ! TCL seem to maintain a internal list a these variables adress and try to cleanup mutex and condition allocated during the life of the object. Unfortunally address was becoming invalide due to the object destruction.
Well, well, how to maintain the integrity of the such list ? Having all condition and mutex variable in global scope is not the good way in OOP.
How to tell to TCL to unremember thoses variable or/and FinalizeCondtion&Mutex manually (during the destructor of the object) ?.
The problem should be the same ? ; if we do a mutex lock (not static) inside a function....!?
....Well, I you received my message, It would be nice from you to tell me your
point of you.
Thank you very much.
Sincerely !
Jean.
From Kupries:
The problems the reports 4193 and 4199 talk about can be solved with
the new finalize APIs for condition variables and mutexes. 4193 is
already closed and marked as duplicate of 4199. 4199 should be closed
too.
--
These APIs are in 8.4a1, implemented by Kupries.
-- 05/28/2000 hobbs
|