Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 3399114b95226517e978c4201626cd2c24021282
Ticket: 3001677f646fbff8637c82c9932954ce5d497234
TCL fails on Check phase (test failure: socket_inet-13.1: Testing use of shared socket between two threads FAILED)
User & Date: aspect on 2017-04-29 04:33:26
Changes

  1. icomment:
    It looks to me like the serverthread script needs [thread::wait] at the end.
    
    This could also be documented better in thread.man:
    
    $ cat tt.tcl
    package require Thread
    
    set t1 [thread::create -preserved {after 50}]
    after 100
    thread::release $t1
    
    $ tclsh tt.tcl
    thread "tid0x7f5e3ca2b700" does not exist
        while executing
    "thread::release $t1"
        (file "tt.tcl" line 5)
    
    
    Even more stark:
    
    % thread::create -preserved {}
    thread "tid0x7f177c7d8700" does not exist
    
  2. login: "aspect"
  3. mimetype: "text/plain"