Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: dde235b2822387f99e40ee928ca2d502ddacad2a
Ticket: 717848ffffffffffffffffffffffffffffffffff
Notifier lock in sub-process on windows
User & Date: andreas_kupries on 2003-04-09 23:38:58
Changes

  1. icomment:
    Logged In: YES 
    user_id=75003
    
    Good, second person to replicate this lockup, so definitely a 
    reproducible bug (First was Jeff, after I was able to create this 
    condensed version of the problem).
    
    
    Right, immediately after open the server doesn't have to be 
    up. We could insert a delay, say one second, in main.tcl to 
    make this race unlikely (or loop the socket command until 
    there is no connect error). ... In the original code the port of 
    the listening socket was written back over the pipe, telling the 
    main process when it was up. 
    
    My rewrite of the testsuite makes now use of a special 
    microserver which uses a second socket for the control 
    connection, and the sub process connects back to the 
    spawning process. This works around the lock. It also means 
    that I know exactly when the process is up (= connect back 
    has been done), and when it is has started to listen (= port 
    number came back over the control connection).
    
    
    
  2. login: "andreas_kupries"
  3. mimetype: "text/plain"
  4. username: "andreas_kupries"