Overview
| Artifact ID: | e8005f863bbdb745cee8b04687e4e7f82656c896 |
|---|---|
| Ticket: | 2928272fffffffffffffffffffffffffffffffff
Channel Names Incorrect in Threads |
| User & Date: | tomkiti on 2010-01-08 13:46:26 |
Changes
- assignee changed to: "andreas_kupries"
- cmimetype changed to: "text/plain"
- comment changed to:
In wish for Windows, the output of [chan names] is incorrect in threads. The following script demonstrates this: package require Thread set tid [thread::create] puts [thread::send $tid {chan names}] puts [thread::send $tid {open ~/temp.txt w}] puts [thread::send $tid {chan names}] In tclsh and wish for Unix, the correct output is: stderr stdout stdin filee5cd20 stderr stdout stdin filee5cd20 In wish for Windows, the incorrect output is: <blank> fileecff28 stdin The first call returns an empty string, which is well-documented in Brent Welch's book. The second call returns "stdin" instead of the new channel. Subsequent calls to "open" will produce "stdout" and "stderr" to appear, although they don't really exist. - foundin changed to: "obsolete: 8.5.8"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "tomkiti"
- subsystem changed to: "25. Channel System"
- title changed to: "Channel Names Incorrect in Threads"
- type changed to: "Bug"