Skip to content
Tcl Source Code Artifact [4e439d2e7f]
Login

Artifact [4e439d2e7f]

Artifact 4e439d2e7ff812cc5071d60d81de6070157dbe32:

Ticket change [4e439d2e7f] - Ticket [486399ffffffffff|486399ffff] <i>Occasional (1 in 3 times) error</i> status still Open with 4 other changes by vasiljevic on 2001-12-07 14:12:41.
D 2001-12-07T14:12:41
J icomment Logged\sIn:\sYES\s\nuser_id=95086\n\nAndreas,\n\nI've\sinvested\scouple\sof\sminutes\sin\sthis\sissue.\s\nIt\sis\spretty\ssimple.\sThe\smain\sapplication\s(tclsh)\sthread\nexits\sbefore\sone\sof\sthe\sworker\sthreads\sgets\sthe\nchance\sto\sexit.\sThe\smain\sapp\sthread\scalls\sPreserveExitProc\nwhich\sfinalizes\sthe\spreserved\sarray\sand\sthe\sexiting\sthread\nbombs\ssince\sits\spreserved\sdata\schunk\sis\snot\sfound.\n\nThis\sis\sa\sTcl\score\sproblem,\snot\sthe\sthread\sextension\nproblem.\n\nWhole\sscenario\scan\sbe\savoided\sby\ssimply\sputting\sthe\s\n"after\s1000"\sat\sthe\send\sof\sthe\sapplication\sto\sallow\sworker\s\nthreads\sto\sproperly\sclean-up\sand\sterminate.\s\n\nThe\squestion\sis:\show\scan\ssuch\sscenario\sbe\savoided\s?\nIs\sthere\ssomething\slike\sTcl_InExit\swhich\scould\sbe\nchecked\sby\s*any*\sthread\sand\sjust\sabort\sany\sprocessing\nif\sthe\sapplication\sis\sabout\sto\s(or\sin\sthe\smiddle\sof)\sexit?\s\n\nZoran\n
J login vasiljevic
J mimetype text/plain
J username vasiljevic
K 486399ffffffffffffffffffffffffffffffffff
U vasiljevic
Z 1c8860042d022b817f387e4bc92bd16f