<i>exec with pipes and fileevents leaks ~2Mb everytime</i> status still Open with 4 other changes
by
.
D 2008-05-08T00:14:08
J icomment Logged\sIn:\sYES\s\nuser_id=7549\nOriginator:\sNO\n\nI\shave\stoo\smuch\sto\ssay,\snot\ssure\sif\sI'll\ssay\sit\sall\sin\sthis\sone\spost.\n\nFirst,\swhy\sdoes\s[close]\sexhibit\sthe\sproblem\sat\sall\swith\spipes?\s\sEasy,\sReadFile()\sis\snot\sinterruptible.\s\sThe\spurpose\sof\sthe\sreader\sthread\sand\sthe\sReadFile()\scall\sinside\sit\sis\sto\sact\sas\sthe\salert\smechanism.\s\sBut\sif\spipe\shandles\sare\swaitable\sobjects,\sthen\swhat's\sthe\spurpose\sof\sthat?\s\sAgain,\seasy..\s\sunder\sWin9x,\spipe\shandles\sare\s_not_\swaitable\sobjects\sand\sthat\smess\sis\sneeded\sto\smake\sthe\salert\smechanism.\s\sBut\sthe\squestion\sreally\sis,\swhy\swas\sit\sforced\sto\sclose\sbefore\sit\swas\sdone?\s\sThat\sdirection\sis\snot\ssupported\sand\scan't\seasily\sbe\swithout\skill.\n\nSecond,\swhat's\swrong\swith\s[open],\sit\sdoes\sthe\ssame\sthing\sas\s[exec\s...\s&]\swith\sthe\spipe\screation?\n\nBrain\slapse..\s\sI\slost\smy\strain\sof\sthought.\n
J login davygrvy
J mimetype text/plain
J username davygrvy
K 1958930fffffffffffffffffffffffffffffffff
U davygrvy
Z 616edd4ef08583556e7a58ff62376074