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
- 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.
- login: "davygrvy"
- mimetype: "text/plain"
- username: "davygrvy"