Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 828a382126c3edaf5418adb62f95f1794fb9c1d1
Ticket: 8bd13f07bde6fb0631f27927e36461fdefe8ca95
Closing tcl pipes prevents windows threads from starting up
User & Date: sebres on 2017-04-11 10:01:18
Changes

  1. icomment:
    I was almost ready with the newer version of this fix, but have realized by testing that the test-case "socket-14.8.0" blocks sporadically (deadlocked resp. endless waiting).
    Then I've tested it without any patch in original 8.6 with same result - it hangs sporadically. Adding of debugging "printf's" shows, that this occurs in the test clean-up by "close $fd", but in C-code it comes not to the PipeClose2Proc.
    
    So seems to be an issue of Tcl_Close (together with windows).
    
    Very annoying, so searching further (WiP).
    
  2. login: "sebres"
  3. mimetype: "text/plain"