Skip to content
Tcl Source Code Artifact [f9ce4ed148]
Login

Artifact [f9ce4ed148]

Artifact f9ce4ed14851bbb8f975a7caaf2431e82e6cde26:

Ticket change [f9ce4ed148] - Ticket [027ba061a8aac869|027ba061a8] <i>Standard channels do not exist on new threads on Windows</i> status still Open with 3 other changes by anonymous on 2014-09-26 06:27:10.
D 2014-09-26T06:27:10.917
J icomment Aku,\sI\sam\snot\sable\sto\sreproduce\swith\stclsh.exe,\sthe\sbehaviour\sappears\sonly\swith\swish.exe,\seither\sintroducing\sthe\scommands\sin\sthe\sconsole\sor\ssourcing\sa\sscript.\sThe\sruns\sin\sthe\soriginal\sticket\swas\sfrom\sWish\s8.6.1\sand\sThread\s2.7.0.\sThe\sruns\son\sthis\scomment\suses\sWish\s8.5.14\sand\sThread\s2.6.7.\r\n\r\nDgp,\sI\swill\sbe\sable\sto\stry\sit\swith\sTcl\s8.6.2\sand\sThread\s2.7.1\sin\sthe\snext\sfew\sdays.\r\n\r\nThank\syou\sfor\syour\sanswers.\r\n\r\n~~~\r\n(tmp)\s1\s%\sputs\s$::tcl_patchLevel;\r\n8.5.14\r\n(tmp)\s2\s%\sparray\s::tcl_platform;\r\n::tcl_platform(byteOrder)\s\s\s=\slittleEndian\r\n::tcl_platform(machine)\s\s\s\s\s=\sintel\r\n::tcl_platform(os)\s\s\s\s\s\s\s\s\s\s=\sWindows\sNT\r\n::tcl_platform(osVersion)\s\s\s=\s6.1\r\n::tcl_platform(platform)\s\s\s\s=\swindows\r\n::tcl_platform(pointerSize)\s=\s4\r\n::tcl_platform(threaded)\s\s\s\s=\s1\r\n::tcl_platform(user)\s\s\s\s\s\s\s\s=\sprs\r\n::tcl_platform(wordSize)\s\s\s\s=\s4\r\n(tmp)\s3\s%\spackage\srequire\sThread;\r\n2.6.7\r\n(tmp)\s4\s%\s::chan\snames;\r\nstdout\sstderr\sstdin\r\n(tmp)\s5\s%\sset\stid\s[::thread::create\s{\s::thread::wait;\s}];\r\ntid000016F4\r\n(tmp)\s6\s%\s::thread::send\s$tid\s{\s::chan\snames;\s};\r\n(tmp)\s7\s%\s\r\n~~~\r\n\r\nFollows\sa\sscript\sfor\snon-interactive\ssourcing:\r\n~~~\r\npackage\srequire\sThread;\r\nset\stid\s[::thread::create\s{\s::thread::wait;\s}];\r\n::pack\s[::ttk::label\s.l[incr\si]\s-text\s"Patchlevel:\s$::tcl_patchLevel"];\r\n::pack\s[::ttk::label\s.l[incr\si]\s-text\s"Platform:\s[array\sget\s::tcl_platform]"];\r\n::pack\s[::ttk::label\s.l[incr\si]\s-text\s"Main\sthread\schans:\s[::chan\snames]"];\r\n::pack\s[::ttk::label\s.l[incr\si]\s-text\s"Other\sthread\schan\snames:\s[::thread::send\s$tid\s{\s::chan\snames;\s}]"];\r\n::pack\s[::ttk::label\s.l[incr\si]\s-text\s"Other\sthread\sfile\schans:\s[::thread::send\s$tid\s{\s::file\schannels;\s}]"];\r\n~~~
J login anonymous
J mimetype text/plain
K 027ba061a8aac869441267c2aef4c4bf9c705c10
U anonymous
Z 948aa74c891e0ccff1fc422fe122c5b0