Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 7d7d914e7abaafeead02f3348900a53133bb558d
Ticket: 1958930fffffffffffffffffffffffffffffffff
exec with pipes and fileevents leaks ~2Mb everytime
User & Date: davygrvy on 2008-05-30 07:18:23
Changes

  1. icomment:
    Logged In: YES 
    user_id=7549
    Originator: NO
    
    re #2, you got it.
    
    Years ago I committed a patch that added the wait flag to the main Tcl_WaitForEvent's WaitForMultiple.. (as well a check on the proper return code) so that thread could be used to service asynchronous procedure calls during the wait.  Time for us to collect on that and make use of it ;)
    
    I don't much free-time these days now that I'm a dad, but I'll try my best to assist with the heavy lifting.
    
    In the meantime, it might be fun (or not) to read through my source for the IOCPSOCK extension <http://sf.net/projects/iocpsock/> that makes use of overlapped-I/O in a channel driver.  The big meat is in the iocpsock_lolevel.c file.  The notification method isn't event objects, though.  That's the trick..  Event based will take some work.
    
    
  2. login: "davygrvy"
  3. mimetype: "text/plain"
  4. username: "davygrvy"