Skip to content
Tcl Source Code Artifact [8a90cb41aa]
Login

Artifact [8a90cb41aa]

Artifact 8a90cb41aa117599918b8d1c7cccefafc31836d638f6fb8b5850e89848254ebd:

Ticket change [8a90cb41aa] - Ticket [33b248619922b878|33b2486199] <i>zipfs becomes non-functional after first thread finalization</i> status still Open with 3 other changes by apnadkarni on 2023-10-20 17:52:04.
D 2023-10-20T17:52:04.883
J icomment Thinking\sabout\sit\sa\sbit\smore,\sI\sthink\sfinalization\sonly\son\sTclInExit()\s(without\sexplicit\sbookkeeping\sof\sthreads)\sis\sthe\sright\ssolution\sin\sany\scase.\sEven\safter\sthe\slast\scurrent\sTcl\sthread\sexits,\sa\sC\sapplication\scould\sstill\screate\sa\snew\sthread\swhich\swould\sneed\saccess\sto\sthe\slibrary\smount\sso\sit\sneeds\sto\sstay\sin\splace\suntil\sprocess\sexit.\r\n\r\nThen\sagain,\sas\sI\ssaid,\sI\sdon't\sunderstand\sTcl's\sinitialization\ssequence\sand\sthe\sabove\smay\snot\sbe\strue.\r\n\r\nPerhaps\sthe\sright\sapproach\sis\sto\sadd\sa\s"Cleanup"\smethod\sto\sthe\sfile\ssystem\simplementation\sdispatch\stable\sthat\sgets\sinvoked\sby\sTcl\sat\sthe\s"right"\stime.\sIf\szipfs\swas\simplemented\sas\san\sextension\sthe\sfinalization\scall\sas\scurrently\sdirectly\sinvoked\sfrom\sTclFinalizeIOSubsystem\swould\snot\sbe\spossible.
J login apnadkarni
J mimetype text/plain
K 33b248619922b8781ab500cd778f177fedf3ebe8
U apnadkarni
Z 85427201d6e99a5dfaf4c1c04c25095a