Skip to content
Tcl Source Code Artifact [8773d1d5fd]
Login

Artifact [8773d1d5fd]

Artifact 8773d1d5fd019dbfd5bde9df7ad10744477d6f28:

Ticket change [8773d1d5fd] - Ticket [1706140fffffffff|1706140fff] <i>check TclCallVarTraces callers</i> status still Open with 4 other changes by dgp on 2007-05-04 12:15:39.
D 2007-05-04T12:15:39
J icomment Logged\sIn:\sYES\s\nuser_id=80530\nOriginator:\sYES\n\n\nThere's\sa\sdeeper\sbrokenness\nhere\sthat's\sbecoming\sapparent.\nThe\svalue\sof\sthe\sTCL_INTERP_DESTROYED\nflag\sis\sset\sonce\sby\sthe\scaller\nof\sTclCallVarTraces.\s\sThen\sTclCallVarTraces\nmight\swell\scall\sseveral\straceProcs.\nThe\sfirst\sof\sthese\smight\sdelete\sthe\sinterp,\nso\sfor\scorrect\soperations,\sTCL_INTERP_DESTROYED\nought\sto\sget\sset\sfor\ssubsequent\straceProc\ncalls.\s\sThis\simplies\sTclCallVarTraces\s*should*\nbe\ssetting\sthis\sflag\sitself,\sas\sthe\sonly\splace\nit\scan\sbe\sdone\scorrectly,\sand\sthe\scallers\sshouldn't\nbe\sburdened\swith\smaking\sthe\sattempt.\n\nLooking\sa\sbit\sfurther\sit's\sclear\sthat\ndoing\sthis\sas\sa\sflag\svalue\spassed\sto\na\straceProc\sis\sbasically\spointless.\nWe\salso\spass\sthe\sinterp\sto\straceProc,\nwhich\scan\sjust\sas\seasily\scall\sTcl_InterpDeleted()\nfor\sitself\sto\scheck\sfor\sthe\sdeleted\sinterp\nscenario.\s\sWe\shave\sto\ssupport\sthe\sflag\sfor\ncompatibility,\sbut\sprobably\sshould\sstop\nrecommending\sthat\straceProcs\srefer\sto\sit\nwhen\sthey\scan\smore\ssimply\sand\sreliably\sjust\ncall\sTcl_InterpDeleted()\sfor\sthemselves.\n\nOk,\sdid\ssome\sarcheology\sand\sthe\sexplanation\nis\sthat\sTCL_INTERP_DESTROYED\scame\sfirst.\nIt's\sthere\sin\sTcl\s7.4\sand\swho\sknows\show\slong\nbefore\sthat.\s\sTcl_InterpDeleted()\sdidn't\sshow\nup\suntil\sTcl\s7.5\s(3/22/96).\n\nWell,\sit's\swell\sestablished\nnow,\sand\sis\sthe\sbetter\sanswer.\s\sIt's\stime\nfor\sthe\sTCL_INTERP_DESTROYED\sflag\sto\sjust\nfade\saway.\n
J login dgp
J mimetype text/plain
J username dgp
K 1706140fffffffffffffffffffffffffffffffff
U dgp
Z d42f607921983d56a86aa8580782a1d1