Overview
| Artifact ID: | 56c62073213b8d44d3e223f8c86de581b19996f2 |
|---|---|
| Ticket: | e8efa378a96bca5e69e00e5feff1315c932ed47b
Duplicate std* channels in different Threads |
| User & Date: | JKU on 2013-08-29 12:44:17 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-fossil-wiki"
- comment changed to:
When I create/open a channel in an other Thread (created with <code>thread::create</code>) the names of the first 3 opened channels are <code>stdin</code>, <code>stdout</code> and <code>stderr</code>, as described on the [http://www.tcl.tk/man/tcl8.6/TclLib/StdChannels.htm|Tcl_StandardChannels manual page]. <verbatim> % file channels stdout stderr stdin % package require Thread 2.6.7 % set tid [thread::create] % thread::send $tid {package require tcl::chan::string} 1.0.1 % thread::send $tid {::tcl::chan::string "Hello World\n"} stdin % thread::send $tid {open test.txt w} stdout % thread::send $tid {file channels} stdin stdout </verbatim> This will probably cause problems when transfering the channels. - foundin changed to: "8.6.0"
- is_private changed to: "0"
- login: "JKU"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- severity changed to: "Severe"
- status changed to: "Open"
- submitter changed to: "JKU"
- subsystem changed to: "25. Channel System"
- title changed to: "Duplicate std* channels in different Threads"
- type changed to: "Bug"