Skip to content
Tcl Source Code Artifact [77fa662c8f]
Login

Artifact [77fa662c8f]

Artifact 77fa662c8f06a027f193e3becf802182df154fa4:

Ticket change [77fa662c8f] - New ticket [1505810fffffffff|1505810fff] <i>init.tcl not found in thread interpreter </i>. by cnassau on 2006-06-14 06:39:31.
D 2006-06-14T06:39:31
J assignee vasiljevic
J cmimetype text/plain
J comment We\sare\susing\sthe\sthread\sextension\sin\scombination\swith\nan\sapplication\sspecific\stcl_library\spath\s(in\sother\nwords,\sin\sthis\sinstallation\s*only*\sthe\stcl_library\nvariable\sknows\swhere\sto\sfind\sa\susable\s"init.tcl").\sWith\nthread-2.6.3,\swhen\swe\sspawn\sa\snew\sthread\susing\n"thread::create"\sthat\snew\sthread\sdoes\snot\sfind\sthe\n"init.tcl"\sand\sis\sthus\sslightly\shandicapped;\swe\ncurrently\shave\sto\smanually\sdo\sthe\sfollowing\sto\sget\sa\nfunctional\sthread:\n\nthread::send\s$tid\s[list\sset\stcl_library\s$tcl_library]\nthread::send\s$tid\s{\n\s\s\ssource\s[file\sjoin\s$tcl_library\sinit.tcl]\n}\s\n\nThis\sfeels\slike\sa\shack\sthat\sbetter\sought\sto\sbe\sfixed\sin\nthe\sthread\spackage\sitself.\s\n\nInspecting\sthe\scode\sone\sfinds\sthat\sthreadCmd.c\sexecutes\n\n\s\s\s\sinterp\s=\sTcl_CreateInterp();\n\s\s\s\sresult\s=\sTcl_Init(interp);\n\nin\sNewThread(clientData).\sIt\sseems\sthat\s"result"\sis\ncurrently\snot\sused,\sso\sany\sfailure\sat\sthat\sstage\nremains\sunnoticed.\sI\swould\ssuggest\sto\salways\sinitialize\nthe\sthread's\stcl_library\swith\sthe\sparent's\stcl_library\nbefore\scalling\sTcl_Init().\n\n
J foundin obsolete:\s8.4.13
J priority 5\sMedium
J resolution None
J status Open
J submitter cnassau
J subsystem 80.\sThread\sPackage
J title init.tcl\snot\sfound\sin\sthread\sinterpreter\s
J type Bug
K 1505810fffffffffffffffffffffffffffffffff
U cnassau
Z c13bd39611c926d1a8c059b59e5d3bc9