Skip to content
Tcl Source Code Artifact [193220186b]
Login

Artifact [193220186b]

Artifact 193220186bd8990faa8a1cc226c82228624ff46b:

Ticket change [193220186b] - Ticket [3611974fffffffff|3611974fff] <i>InitSubsystems multiple thread issue</i> status still Pending with 3 other changes by jan.nijtmans on 2013-06-18 14:12:36.
D 2013-06-18T14:12:36.060
J icomment >With\stwo\sthreads\sconcurrently\sattempting\sto\sfinalize,\r\n>the\ssecond\swill\sleap\sto\sthe\send\sof\sfinalization\swhile\r\n>the\sfirst\sis\sstill\sdoing\sthe\steardown\swork.\r\nI\sthink\sthat's\swhat\sshould\shappen:\sfinalization\sshould\r\nonly\shappen\sonce,\sit's\sdoesn't\sreally\smatter\swhich\r\nthread\sactually\sdoes\sit.\sSo,\sthe\sthread\sthat\sdoes\sthe\r\nsecond\sTcl_Finaliza()\sshould\sskip\sover\sthe\ssection,\sand\r\njust\sassume\sthat\sthe\sother\sthread\swill\sfinish\sit.\r\n\r\nThe\sthing\sthat\sstill\sgoes\swrong\sis\sif\sone\sthread\sdoes\r\nan\sinitialize\swhile\sanother\sthread\sstarts\sa\sfinalize\r\nwhen\sthe\sother\sinitialize\sis\sstill\srunning.\sA\s4-state\r\nsystem\swith\sa\spanic\swould\sbe\sbetter,\sbut\sfor\sthe\s8.x\r\nline\sI'm\sfine\swith\sjust\sletting\sit\scrash.\r\n\r\nI'll\scheck\sthe\shistory.
J login jan.nijtmans
J mimetype text/plain
K 3611974fffffffffffffffffffffffffffffffff
U jan.nijtmans
Z 529570221269d8a723e0e3068ca0eff5