Overview
| Artifact ID: | 9a3ba989e6a3e928a79c708cb5ee45e32b8ba30386d737aa1b9ddde4dfbbb82d |
|---|---|
| Ticket: | 39fed4dae51e4fd7f1abf6baf3ba094a072b8beb
Tcl_PkgRequireEx, Tcl_InitStubs broken in 8.6.9 |
| User & Date: | jan.nijtmans on 2019-03-07 09:49:19 |
Changes
- icomment:
Well, Don's solution has the problem that the ->version stored in the package list might be shared in multiple threads: If multiple threads muggle with the internal rep of a Tcl_Obj, that could result in strange results. That's why package versions were stored as a string, not as Tcl_Obj. Nathan's solution was - indeed - hacky. My proposal is: Follow Nathan's solution, but add proper protections and a proper internal Tcl_Obj type. Additional advantage: The string representation of the Tcl_Obj only has to be allocated when needed. Committed now for evaluation.
- login: "jan.nijtmans"
- mimetype: "text/plain"