Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 8b6fa5c628354a97db7ae6b6a67abd476c07878b
Ticket: 3547994fffffffffffffffffffffffffffffffff
Modernize Windows channel drivers
User & Date: twylite on 2012-07-25 02:58:55
Changes

  1. icomment:
    Hi.  Imho the TerminateThread is the way to go.  It's actually quite clean, and I'll have a patch available just as soon as patch stops preventing me from applying a diff that I really need in place.
    
    The FILE_FLAG_OVERLAPPED will have a broad impact on the rest of the implementation, and probably introduce a whole set of new bugs (including subtle synchronisation bugs -- look at what goes on in tclWinSock.c to support blocking operations).
    
    Tcl dropped support for Windows 2000 some time ago (it no longer compiles against the 2000 Platform SDK), which means the easliest Windows targetted is XP, which does support pipes in WaitForMultipleObjects.  That would allow the number of cothreads to be reduced, but at least 1 is still required.
    
    
  2. login: "twylite"
  3. mimetype: "text/plain"
  4. username: "twylite"