Skip to content
Tcl Source Code Check-in [c8510ad941]
Login

Check-in [c8510ad941]

Overview
Comment:To use a Tcl_Command token [aka (Command *)] for epoch checking, we must not permit it to be freed while we hold it or else it could be mistaken for another token allocated later that just happens to reside at the same address. (Command *) preservation machinery already exists, just need to use it. An extension facing the same problem might have to rely on command delete traces. Earlier revisions used (Namespace *) lifetime to achieve the same results, but that's really an indirect (possibly non-robust) path to achieving the proper goal. Valgrind is happy now.
Timelines: family | ancestors | descendants | both | dgp-ecr
Files: files | file ages | folders
SHA1: c8510ad9416e44e83f277432d7c1d2d648257a8d
User & Date: dgp on 2016-07-07 18:44:56.423
Other Links: branch diff | manifest | tags
Context
2016-07-07
19:50
Missed a cleanup line, which created a memleak. closed check-in: 355146f0e0 user: dgp tags: dgp-ecr
18:44
To use a Tcl_Command token [aka (Command *)] for epoch checking, we must not permit it to be freed w... check-in: c8510ad941 user: dgp tags: dgp-ecr
2016-07-01
19:42
The EnsembleCmdRep struct that is the internal rep for caching ensemble dispatches and spelling corr... check-in: ac4dbb12dd user: dgp tags: dgp-ecr
Changes