D 2004-07-16T15:40:39 J icomment Logged\sIn:\sYES\s\nuser_id=95086\n\nI\sbelieve\sJoe\sis\sright.\sEvery\sthread\screated\sby\spthread_create\nshould\seventually\scall\spthread_exit\sat\sthe\send\sof\sits\slife.\nOtherwise\spthread\slibrary\sleaks.\nAt\sthis\sparticular\sspot\sthis\sis\snot\svery\stragic\sfor\stclsh-like\napplications\swhere\smain\sthread\sand\sthe\snotifier\sthread\nexit\sjust\sat\sthe\send\sof\sthe\sapp.\sBut\sin\ssystems\sloading\s\nand\sfinalizing\sTcl\slibrary\sas\sa\ssubsystem,\sthis\smay\spose\nmemory\sproblems\s(leaks).\s\n\nMy\soppinion\sis:\sgo\sahead\sand\sadd\sthe\sTclpThreadExit\nat\sthe\send.\s\n J login vasiljevic J mimetype text/plain J username vasiljevic K 990500ffffffffffffffffffffffffffffffffff U vasiljevic Z 93405de303900ab14c74ccf2d0567b7b