Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2008-07-30
07:05 • Closed ticket [1077194fff]: ekeko: revise mutexes in Tcl_CallWhenDeleted plu... artifact: 128b2c2038 user: msofer
2006-09-30
00:58 • Ticket [1077194fff]: 2 changes artifact: 5ac93ff7c5 user: msofer
2005-07-27
00:07 • Ticket [1077194fff]: 5 changes artifact: faca48ac8d user: dgp
2005-07-07
23:13 • Ticket [1077194fff]: 4 changes artifact: c720c16a3a user: dgp
23:12 • Add attachment 1077194.patch to ticket [1077194fff] artifact: b7ed8182ad user: dgp
23:12 • Ticket [1077194fff] revise mutexes in Tcl_CallWhenDeleted status still Open ... artifact: 0bb1e90994 user: dgp
2004-12-02
00:15 • New ticket [1077194fff]. artifact: cda07a5e75 user: dgp

ekeko: revise mutexes in Tcl_CallWhenDeleted

Closed / Accepted1077194fffffffffffffffffffffffffffffffffCreated 22 years agoUpdated 18 years ago
Descriptionplain2004-12-02 00:15:04
dgpTcl_CallWhenDeleted()...
[19:07]dgp...uses an assocMutex so that all interps
in all threads can share one common counter for
generating Assoc Data key strings.
[19:07]***IcE-bOy leaves
[19:08]dgpWouldn't is be easier to have one counter
per-thread?  That would still preserve uniqueness
within each interp, which is all that's needed.
[19:08]dgpAnd that's a simple use of Tcl_GetThreadData().


or even simpler a counter per-interp.
dgpplain2005-07-07 23:12:47
Logged In: YES 
user_id=80530


Here's a patch that does the 
simple Tcl_GetThreadData()
alternative.

Leaving futher migration to
a per-interp counter to others
(ekeko enthusiasts?).

Please review.
dgpplain2005-07-07 23:13:00
File Added - 141218: 1077194.patch
dgpplain2005-07-27 00:07:36
Logged In: YES 
user_id=80530


simple fix committed to both
branches.

leaving open for further ekeko
consideration.
msofer Ticket [1077194fff]: 2 changes [History diff]2006-09-30 00:58:17
msofer Closed ticket [1077194fff]. [History diff]2008-07-30 07:05:18
Log in (anonymous is fine) to add a comment.

Attachments: