<i>Tcl_PkgRequireEx, Tcl_InitStubs broken in 8.6.9</i> status still Open with 3 other changes
by
.
D 2019-03-07T09:49:19.001
J icomment Well,\sDon's\ssolution\shas\sthe\sproblem\sthat\sthe\s->version\sstored\sin\sthe\spackage\slist\smight\sbe\sshared\sin\smultiple\sthreads:\sIf\smultiple\sthreads\smuggle\swith\sthe\sinternal\srep\sof\sa\sTcl_Obj,\sthat\scould\sresult\sin\sstrange\sresults.\sThat's\swhy\spackage\sversions\swere\sstored\sas\sa\sstring,\snot\sas\sTcl_Obj.\r\n\r\nNathan's\ssolution\swas\s-\sindeed\s-\shacky.\s\sMy\sproposal\sis:\sFollow\sNathan's\ssolution,\sbut\sadd\sproper\sprotections\sand\sa\sproper\sinternal\sTcl_Obj\stype.\sAdditional\sadvantage:\sThe\sstring\srepresentation\sof\sthe\sTcl_Obj\sonly\shas\sto\sbe\sallocated\swhen\sneeded.\sCommitted\snow\sfor\sevaluation.
J login jan.nijtmans
J mimetype text/plain
K 39fed4dae51e4fd7f1abf6baf3ba094a072b8beb
U jan.nijtmans
Z b0cc4e93b9ecd566e2400fbeebb4db6e