Skip to content
Tcl Source Code Artifact [fdf69637da]
Login

Artifact [fdf69637da]

Artifact fdf69637da4032d3445b101ef40629538498a149:

Ticket change [fdf69637da] - Ticket [1958930fffffffff|1958930fff] <i>exec with pipes and fileevents leaks ~2Mb everytime</i> status still Open with 4 other changes by ferrieux on 2008-05-08 18:41:32.
D 2008-05-08T18:41:32
J icomment Logged\sIn:\sYES\s\nuser_id=496139\nOriginator:\sNO\n\nMark,\splease\sdon't\sgo\sto\sbgexec\sright\snow,\swe're\sjust\son\sthe\sverge\sof\sintegrating\s[pipe]\s(well,\sti\swill\sbe\s[chan\spipe]\sI\sguess)\sin\sthe\score\s;-)\n\nAs\sto\smy\sprior\sinterrogations,\sI\shave\sfound\sthe\smissing\spiece\sin\sthe\spuzzle:\sYes,\sTclx\screates\sraw\spipes,\sbut\sNo,\sit\sdoesn't\sleave\sthem\sunadorned\sto\sthe\score\s!\sIndeed,\swhat\sI\shave\sjust\srealized,\sis\sthat\sTcl_MakeFileChannel\sdoes\sintrospect\sthe\stype,\sand\sin\sthe\spipe\scase\scalls\sTclpCreateCommandChannel\swith\san\sempty\spid\slist\s!\sThis\sexplains\severything,\sincluding\sthe\sresort\sto\sthe\sbad\sTerminateThread\swhen\sthe\sreader\sthread\sis\sblocked\sin\sReadFile\setc...\n\nDavid,\sdo\syou\sagree\swith\sthe\sfollowing\sconclusion:\n\s\s-\sTclX's\s[pipe]\sfully\sinteroperates\swith\sthe\s(now\sobsolete)\smachinery\sin\stclWinPipe.c\n\s\s-\sHence\sit\scan\sbe\sported\sto\sthe\score\s(TIP304)\swith\sno\schange\sand\sno\sworries\n\s\s-\sIt\sdoes\shave\sthe\sold\sTerminateThread\sissue.\n\s\s-\sThis\scould\sbe\ssolved\sin\spost-NT\sera\sby\sdirect\swait\son\shandles\n\s\s-\sBut\sthis\slast\smove\sis\sorthogonal\sto\sTIP\s304\sand\scan\swait\sa\sbit.\n\n
J login ferrieux
J mimetype text/plain
J username ferrieux
K 1958930fffffffffffffffffffffffffffffffff
U ferrieux
Z 9ad9caaa60beac48a385b64031c49163