Skip to content
Tcl Source Code Artifact [7308304899]
Login

Artifact [7308304899]

Artifact 7308304899370492177dc7a5c006b93163a4dffd:

Ticket change [7308304899] - Ticket [3408824fffffffff|3408824fff] <i>iocmd.tf-24.16 unstable w/ -DPURIFY</i> status still Open with 4 other changes by andreas_kupries on 2011-09-18 07:28:51.
D 2011-09-18T07:28:51
J icomment Yes,\s"testchannel\scut/splice"\sare\stcltest's\smethod\sof\smoving\sa\schannel\sbetween\sthreads.\sThe\spackage\sThread\shas\sthe\spublic\smethod,\sa\s'thread\stransfer'\scommand.\sInternally\sboth\suse\sthe\ssame\sC\sAPIs.\n\nFor\sreflected\schannels\sspecificially\swe\scan\sonly\smove\s(ownership\sof)\sthe\sChannel\sstructures\sbetween\sthreads,\sthe\sTcl\spart\shas\sto\sstay\sbehind\sin\sthe\sthread\sthe\schannel\swas\screated\sin,\sbecause\swe\sdo\snot\sknow\swhat\sdependencies\sin\sterms\sof\scode,\svariables,\spackages,\setc.\sthis\spart\shas.\sWhen\ssuch\sa\sseparation\sbetween\sthe\slevels\shappens\sEvents\sand\sthe\sTcl\sEvent\sQueue\sare\sused\sby\sthe\sC\slevel\sto\ssend\sthe\snecessary\sinstructions\sto\sthe\sthread\shandling\sthe\sTcl\spart\sinstead\sof\sinvoking\sthe\sscript\scode\son\sits\sown,\splus\smutexes\sand\scondition\svariables\sto\swait\sand\sget\sany\sresults.\sEverything\sin\stclIORChan.c\sand\stclIORTrans.c\swhich\shas\s'Forward'\sin\sthe\sname\s(regardless\sof\scase)\sis\srelated\sto\sthis.\n\nI\swould\sput\smy\seye\son\sthe\sparts\sinteracting\swith\sthe\sdestruction\sof\sthreads\s(cleaning\sup\sof\sstructures,\sevents,\setc.)\sas\sa\spossible\ssource\sof\sthe\sproblem.\n
J login andreas_kupries
J mimetype text/plain
J username andreas_kupries
K 3408824fffffffffffffffffffffffffffffffff
U andreas_kupries
Z 0fc60b845eac01f4c574aceeff649081