Skip to content
Tcl Source Code Artifact [56c6207321]
Login

Artifact [56c6207321]

Artifact 56c62073213b8d44d3e223f8c86de581b19996f2:

Ticket change [56c6207321] - New ticket [e8efa378a96bca5e|e8efa378a9] <i>Duplicate std* channels in different Threads</i>. by JKU on 2013-08-29 12:44:17.
D 2013-08-29T12:44:17.478
J assignee nobody
J closer nobody
J cmimetype text/x-fossil-wiki
J comment When\sI\screate/open\sa\schannel\sin\san\sother\sThread\s(created\swith\s<code>thread::create</code>)\sthe\snames\sof\sthe\sfirst\s3\sopened\schannels\sare\s<code>stdin</code>,\s<code>stdout</code>\sand\s<code>stderr</code>,\sas\sdescribed\son\sthe\s[http://www.tcl.tk/man/tcl8.6/TclLib/StdChannels.htm|Tcl_StandardChannels\smanual\spage].\r\n\r\n<verbatim>\r\n%\sfile\schannels\r\nstdout\sstderr\sstdin\r\n%\spackage\srequire\sThread\r\n2.6.7\r\n%\sset\stid\s[thread::create]\r\n%\sthread::send\s$tid\s{package\srequire\stcl::chan::string}\r\n1.0.1\r\n%\sthread::send\s$tid\s{::tcl::chan::string\s"Hello\sWorld\\n"}\r\nstdin\r\n%\sthread::send\s$tid\s{open\stest.txt\sw}\r\nstdout\r\n%\sthread::send\s$tid\s{file\schannels}\r\nstdin\sstdout\r\n</verbatim>\r\n\r\nThis\swill\sprobably\scause\sproblems\swhen\stransfering\sthe\schannels.
J foundin 8.6.0
J is_private 0
J login JKU
J priority 5\sMedium
J resolution None
J severity Severe
J status Open
J submitter JKU
J subsystem 25.\sChannel\sSystem
J title Duplicate\sstd*\schannels\sin\sdifferent\sThreads
J type Bug
K e8efa378a96bca5e69e00e5feff1315c932ed47b
U JKU
Z 633907548e44967d8fe92a22731daf89