Overview
| Artifact ID: | cd6ec2f1d8e6b536bf2560f6babb022b302cc20c |
|---|---|
| Ticket: | 3611974fffffffffffffffffffffffffffffffff
InitSubsystems multiple thread issue |
| User & Date: | jan.nijtmans on 2013-06-19 08:56:55 |
Changes
- icomment:
>Hmmmm... I see that the TclpInitLock() in Tcl_Finalize() >lacks a balancing TclpInitUnlock() as well. No that's not a bug, because TclFinalizeLock() does an implicit unlock before destroying the lock. I agree that the code in the "bug-3611974" is better readable than what's in core-8-5-branch/trunk now, but I can see a bug which is not present in core-8-5-branch: In line 1234 a TclpInitUnlock() unlocks the lock, but the following TclFinalizeLock() should do that. Fixed now. It's difficult to get it right, "bug-3611974" is better readable but too risky to put in in 8.5 IMHO
- login: "jan.nijtmans"
- mimetype: "text/plain"