<i>Duplicate std* channels in different Threads</i> status still Open with 3 other changes
by
.
D 2013-08-29T12:47:38.286
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\ntid000006C0\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.\r\n\r\nThis\sbehavior\swas\snot\sreproducable\swith\stclsh,\sonly\swish\sseems\sto\sbe\saffected.
J login JKU
J mimetype text/plain
K e8efa378a96bca5e69e00e5feff1315c932ed47b
U JKU
Z 515da59a544e3a80426d9badd529bbce