<i>TclOO + coroutine + event loop = coredump</i> status still Open with 3 other changes
by
.
D 2024-05-17T13:37:32.779
J icomment It\sturns\sout\sthat\sall\sthe\sstuff\srelating\sto\sthe\s`Command`\sand\sthe\s`ExtraFrameInfo`\scan\sbe\sheld\sin\sthe\s`ProcedureMethod`;\sthe\slifespan\sis\sright\sand\swe\sdon't\suse\sthat\s`Command`\sto\scommunicate\sthe\scompilation\scontext\snamespace\sto\sthe\sbytecode\scompiler\s(procedures\s_do_\suse\sthat,\sbut\swe\spass\sthat\sas\sa\sdirect\sargument).\sDoing\sthat\smeans\sthat\swe\sdon't\sneed\sto\sinitialise\sthings\sso\soften\s(provided\swe\stake\scare\swhen\swe\sclone\sa\sclass\sor\sobject)\sand\sallows\sus\sto\savoid\sentirely\skeeping\sa\slinked\sstack\sof\s`PMFrameData`s\sthat\sneed\sto\sbe\sput\sback\scorrectly,\sand\sthat\slets\sus\savoid\sa\sbunch\sof\sbugs\sand\scrashes\s(including\sthis\sone!).\r\n\r\nThere's\sone\sdown-side:\sthe\s`ProcedureMethod`\sstructure\ssize\schanges.\sI\sbelieve\sthat\snobody\sbut\sTclOO\sitself\sshould\sever\sknow\sthe\ssize\sof\sthat\sstructure\s(let\salone\sallocate\sone!)\sso\sit's\snot\sa\sproblem,\sbut\sI\sdon't\sknow\sif\sItcl\sis\splaying\stricks.
J login dkf
J mimetype text/x-markdown
K 87271f7cd6ab29a076b36e31041a8c940c20d943
U dkf
Z 8630806a5fa186cdb4035423f6e7f397