Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 14a9c7289d90590662834779cb4e01a0734c2c09
Ticket: 947693ffffffffffffffffffffffffffffffffff
Closing a non-blocking pipe can block on Win
User & Date: stevebold on 2004-06-11 23:13:35
Changes

  1. icomment:
    Logged In: YES 
    user_id=810219
    
    The discussion of TIP 88 here:
    
    http://aspn.activestate.com/ASPN/Mail/Browse/Threaded/tcl-
    core/1252059
    
    suggests that 'kill' is not likely to be accepted as the name
    for this and that settling on a name may be difficult. Would
    it be easier to separate a fix for the Windows behaviour of
    non-blocking close from the interface change to support
    process signalling/termination on Windows and UNIX?
    
    
    Also I'll record two relevant docs that I referenced on 
    comp.lang.tcl:
    
    http://support.microsoft.com/default.aspx?scid=kb;en-
    us;178893
    
    claims to offer a clean way to shutdown processes. However,
    it doesn't seem to work for processes launched from Tcl,
    where DETACHED_PROCESS is specified as a flag.
    
    http://www.microsoft.com/msj/0698/win320698.aspx
    
    Explains the helper process needed to make
    GenerateConsoleCtrlEvent() work and discusses a much nicer
    solution that is only available with Win 2000 and its
    successors.
    
    
    
  2. login: "stevebold"
  3. mimetype: "text/plain"
  4. username: "stevebold"