Overview
| Artifact ID: | 14c40f1ee0aae687b29b5b79892cd0e209fa5bfa |
|---|---|
| Ticket: | 027ba061a8aac869441267c2aef4c4bf9c705c10
Standard channels do not exist on new threads on Windows |
| User & Date: | anonymous on 2014-09-26 07:02:58 |
Changes
- icomment:
Please, note that the issue does not appear when evaluating with Tclsh and issuing [package require Tk]; only when the script is evaluated with Wish itself. Follows the modifyied script: ~~~ package require Tk; package require Thread; set tid [::thread::create { ::thread::wait; }]; ::pack [::ttk::label .l[incr i] -text "Patchlevel: $::tcl_patchLevel"]; ::pack [::ttk::label .l[incr i] -text "Platform: [array get ::tcl_platform]"]; ::pack [::ttk::label .l[incr i] -text "Main thread chans: [::chan names]"]; ::pack [::ttk::label .l[incr i] -text "Other thread chan names: [::thread::send $tid { ::chan names; }]"]; ::pack [::ttk::label .l[incr i] -text "Other thread file chans: [::thread::send $tid { ::file channels; }]"]; ~~~ - login: "anonymous"
- mimetype: "text/plain"