Tcl package Thread source code

Artifact Content
Login
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to [email protected]
or submit via the online form by Sep 9.

Artifact f87645b7cf263dc3edfb107d93fe88f800e137664a2bc604de1d59f73413a523:

Ticket change [f87645b7cf] - New ticket [c72c2eb54b] Invalid channel names in thread. by tomkiti 2018-03-03 18:49:02.
D 2018-03-03T18:49:02.058
J assignee nobody
J closer nobody
J cmimetype text/plain
J comment In\swish\s8.6.8\son\sWindows,\sthe\s2nd,\s3rd,\sand\s4th\sfiles\sthat\sare\sopened\swithin\sa\sthread\sreturn\sthe\schannel\snames\sstdin,\sstdout,\sand\sstderr.\sThis\sdoes\snot\shappen\sin\sthe\smain\sthread,\sin\stclsh\s8.6.8,\sin\swish\s8.5.*,\sor\son\sLinux.\r\n\r\nFor\sexample,\sthe\sfollowing\sscript\swrites\sthe\sfirst\s5\sopened\schannel\snames\sto\sa\slog\sfile:\r\n\r\n\s\s\s\spackage\srequire\sThread\r\n\s\s\s\sset\stid\s[::thread::create]\r\n\s\s\s\s::thread::send\s$tid\s{\r\n\s\s\s\s\s\s\s\sset\schan1\s[open\sc:/temp/log.txt\sw]\r\n\s\s\s\s\s\s\s\sset\schan2\s[open\snul\sw]\r\n\s\s\s\s\s\s\s\sset\schan3\s[open\snul\sw]\r\n\s\s\s\s\s\s\s\sset\schan4\s[open\snul\sw]\r\n\s\s\s\s\s\s\s\sset\schan5\s[open\snul\sw]\r\n\s\s\s\s\s\s\s\sputs\s$chan1\s"chan1\s=\s$chan1"\r\n\s\s\s\s\s\s\s\sputs\s$chan1\s"chan2\s=\s$chan2"\r\n\s\s\s\s\s\s\s\sputs\s$chan1\s"chan3\s=\s$chan3"\r\n\s\s\s\s\s\s\s\sputs\s$chan1\s"chan4\s=\s$chan4"\r\n\s\s\s\s\s\s\s\sputs\s$chan1\s"chan5\s=\s$chan5"\r\n\s\s\s\s\s\s\s\sclose\s$chan1\r\n\s\s\s\s\s\s\s\sclose\s$chan2\r\n\s\s\s\s\s\s\s\sclose\s$chan3\r\n\s\s\s\s\s\s\s\sclose\s$chan4\r\n\s\s\s\s\s\s\s\sclose\s$chan5\r\n\s\s\s\s}\r\n\s\s\s\sexit\r\n\r\nThe\sfile\sc:/temp/log.txt\swill\scontain\ssomething\slike:\r\n\r\n\s\s\s\schan1\s=\sfile303b0c0\r\n\s\s\s\schan2\s=\sstdin\r\n\s\s\s\schan3\s=\sstdout\r\n\s\s\s\schan4\s=\sstderr\r\n\s\s\s\schan5\s=\sfile3033160\r\n\r\nI\sdon't\sknow\sif\sthe\sproblem\sis\sin\sTcl,\swish,\sor\sthe\sThread\spackage,\sbut\sI'm\sreporting\sit\shere.
J foundin 2.8.2
J is_private 0
J login tomkiti
J priority 5\sMedium
J private_contact 1c57e67924247fd7926e89348f266c081ec57db2
J resolution None
J severity Important
J status Open
J submitter tomkiti
J subsystem 80.\sThread\sPackage
J title Invalid\schannel\snames\sin\sthread
J type Bug
K c72c2eb54b644dc5e5b44b6a410311fca1b7a3ef
U tomkiti
Z 03609751eba1d4be96086b55304cbf14