Skip to content
Tcl Source Code Artifact [a17d584a05]
Login

Artifact [a17d584a05]

Artifact a17d584a0570341cecc71495959d27b75673a596:

Ticket change [a17d584a05] - Ticket [597575ffffffffff|597575ffff] <i>[exit] in sub-thread may crash.</i> status still Open with 4 other changes by georgeps on 2008-08-15 10:23:03.
D 2008-08-15T10:23:03
J icomment Logged\sIn:\sYES\s\nuser_id=585068\nOriginator:\sNO\n\nbug\sreport\s2001201\shas\sa\spatch\sto\sfix\sthis.\n\n"We\sought\sto\schange\sthe\sway\sthe\score\sis\sfinalizing\svarious\ssubsytems.\sWe'd\sneed\sto\sintroduce\srefcounts\son\sthose\ssubsystems\sand\sdo\sthe\stear\sdown\son\sthe\slast-thread\sexit."\n\nWhy\swould\swe\sneed\sthat\sto\sfix\sthe\sTcl_Exit\sproblem?\s\sWhy\snot\sjust\sremove\sthe\sfull\sTcl_Finalize\sfrom\sTcl_Exit,\sas\sthe\spatch\sassociated\swith\s2001201\sdoes?\n\nI\sagree\swe\sneed\sthe\sreference\scount\ssolution\sif\swe\swant\sTcl_Finalize\sto\swork\sin\sthe\smultiple-Tcl-thread\scase,\swhich\sit\sdoesn't\scurrently,\sbut\sI\sdon't\sknow\sif\sthat's\sreasonable\sor\sdoable\swhen\sTcl_Finalize\scleans\sup\sglobal\sstate\sfor\sall\sTcl\sthreads,\sand\s1\sor\smore\sof\sthe\sthreads\sthat\sare\snot\scalling\sTcl_Finalize\smay\sbe\sin\sunknown\sstates.\s\sIt\sseems\ssimpler\sand\smore\smaintainable\sto\sjust\shave\sthreads\sjoin/exit\sand\scleanup\svia\sTcl_Finalize\swhen\sall\sother\sthreads\shave\sexited.\n\n
J login georgeps
J mimetype text/plain
J username georgeps
K 597575ffffffffffffffffffffffffffffffffff
U georgeps
Z 25b998568bca1db465c64808759210c6