Skip to content
Tcl Source Code Artifact [9e671dd620]
Login

Artifact [9e671dd620]

Artifact 9e671dd620fc8fa8c553e5fed6e285de4d2756f6:

Ticket change [9e671dd620] - Ticket [e8efa378a96bca5e|e8efa378a9] <i>Duplicate std* channels in different Threads</i> status still Open with 3 other changes by JKU on 2013-08-29 12:47:38.
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