Skip to content
Tcl Source Code Artifact [0ed5fb9ca4]
Login

Artifact [0ed5fb9ca4]

Artifact 0ed5fb9ca4b86ee7d498bf12b04b14baee3b95af:

Ticket change [0ed5fb9ca4] - Closed ticket [770053ffffffffff|770053ffff]: <i>Tcl_CreateThread breaks notifier thread refcount</i> plus 7 other changes by vasiljevic on 2004-07-16 04:25:11.
D 2004-07-16T04:25:11
J closedate 2004-07-15T21:25:11
J closer vasiljevic
J icomment Logged\sIn:\sYES\s\nuser_id=95086\n\nThe\snotifier\sref-counting\sproblem\sis\snow\sfixed\sby\sconditionaly\nfinalizing\sthe\snotifier.\s\nIf\sthe\snotifier\sfor\sthe\sthread\shas\snever\sbeen\sinitialized\sby\sa\s\ncall\sto\sTclInitNotifier,\sit\swill\snot\sbe\sfinalized\sby\sthe\scall\nto\sTclFinalizeNotifier.\sSimple\sas\sthat.\nFor\sthis\sto\swork,\san\salready\sexisting\sthreadId\selement\sof\s\nthe\sprivate\sTSD\skey\sfrom\sgeneric/tclNotify.c\sis\sused.\n\nThis\sis\snow\sfixed\sin\score-8-4-branch\sand\sin\scvs\shead.\nLets\ssee\swhose\stoes\swe're\strampling\son\snow...\s\n\nThis\sone\scorrects\sthe\sref-counting\sproblem\sbut\sall\sAPI\nusers\sshould\sbe\saware\sof\sthe\sfact\sthat\sinter-thread\ncommunication\susing\sTcl_ThreadAlert()\sand\sbros\sis\s*not*\s\npossible\sfor\sthreads\screated\swith\sTcl_CreateThread\swhich\nhave\sno\sTcl\sinterpreter\sassigned.\s\n\n
J login vasiljevic
J mimetype text/plain
J resolution Fixed
J status Closed
J username vasiljevic
K 770053ffffffffffffffffffffffffffffffffff
U vasiljevic
Z 09925e2d5070b61ccd2920e5f1aa7914