Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 34687ef3bc298944c749163e56b94ecebdce3064
Ticket: 027ba061a8aac869441267c2aef4c4bf9c705c10
Standard channels do not exist on new threads on Windows
User & Date: anonymous on 2014-09-30 10:50:09
Changes

  1. icomment:
    Dgp, I have tested with Tcl 8.6.2 and Thread 2.7.1. The results are the same: no standard channels on new threads when using Wish as an interpreter (standard channels are there if using Tclsh). Please, see the typescript:
    
    ~~~
    (ghttpd) 1 % parray tcl_platform;
    tcl_platform(byteOrder)     = littleEndian
    tcl_platform(machine)       = intel
    tcl_platform(os)            = Windows NT
    tcl_platform(osVersion)     = 6.1
    tcl_platform(pathSeparator) = ;
    tcl_platform(platform)      = windows
    tcl_platform(pointerSize)   = 4
    tcl_platform(threaded)      = 1
    tcl_platform(user)          = prs
    tcl_platform(wordSize)      = 4
    (ghttpd) 2 % package require Thread;
    2.7.1
    (ghttpd) 3 % ::chan names;
    stdout stderr stdin
    (ghttpd) 4 % set tid [::thread::create { ::thread::wait; }];
    tid00000FC4
    (ghttpd) 5 % ::thread::send $tid { ::chan names; };
    (ghttpd) 6 % 
    ~~~
    
  2. login: "anonymous"
  3. mimetype: "text/plain"