Overview
| Artifact ID: | 21bce4b379fef206cc762a04639c525647091e24 |
|---|---|
| Ticket: | 1958930fffffffffffffffffffffffffffffffff
exec with pipes and fileevents leaks ~2Mb everytime |
| User & Date: | ferrieux on 2008-05-07 19:36:11 |
Changes
- icomment:
Logged In: YES user_id=496139 Originator: NO Looking at the current source (TclX 8.4.0), I do see that GetFileType, but only by a specific set of TclX commands (approximate names): dup, bind, fstat, fsize, ftruncate, select, flock, funlock, cloexec. So, at least in the source I have access to, I don't see TclX retrofitting its raw pipes into core Tcl's instrumented ones. (As additional evidence, the instrumenting threads are only created from within TclpCreateCommandChannel, which is really not able to wrap a simple preexisting handle). This is getting interesting ! Investigation continued... is called within the ChannelToHandle function, which does recognize pipes to produce a type identifier TCLX_WIN_PIPE, but this value is largely ignored by the only caller of interest here, TclXOSGetSelectFnum (
- login: "ferrieux"
- mimetype: "text/plain"
- username: "ferrieux"