<i>Crash in io-29.33b (no implicit flush of nonblocking on exit</i> status still Open with 4 other changes
by
.
D 2012-07-24T20:20:55
J icomment Digging\sfurther\sin\sthe\sWindows\spipe\sdriver,\sI\sunderstand\sthe\sfollowing:\n-\sdue\sto\sOS\slimitations\s(some\slong\sgone,\shysterical\sraisins),\sthe\spipe\sdriver\suses\sa\spair\sof\sthreads\sfor\seach\spipe\n-\sthere\sis\ssome\ssignalling\sbetween\sthe\smain\sthread\sand\sthem,\sat\sthe\sbeginning\sof\san\soperation\n-\showever,\sonce\s(e.g.)\sa\swrite\sis\sstarted,\sa\sstubborn\sWriteFile\sloop\swill\skeep\strying\suntil\sit's\sdone\sor\sa\sSIGPIPE\scomes\sup\sthe\spipe.\n-\sthis\sis\snotably\sthe\scase\swhen\s(as\sin\sio-29.33b)\sa\sbackground\sflush\sruns\son\sa\sstalled\spipe\n-\sin\sthe\scurrent\sdesign\sit\sis\simpossible\sto\scleanly\sstop\sthe\swriter\sthread\sto\scancel\sthe\swrite\sas\sper\sTIP#398\n-\sat\sthe\smoment\sI\scan\ssee\stwo\soptions:\s(1)\stry\ssome\shackery\swith\sa\sCloseHandle\sin\sthe\smain\sthread,\shoping\sit\swill\sinterrupt\sthe\sWriteFile\s(does\sit\s?);\s(2)\scheat\sby\sleaving\sthe\sthread\sand\spipe\sto\stheir\sdestiny,\smarking\sas\sCHANNEL_DEAD\salthough\snot\smuch\shas\sbeen\struly\sdeallocated.\n\nExpert\sadvice\sdearly\sexpected.\s\n
J login ferrieux
J mimetype text/plain
J username ferrieux
K 3545365fffffffffffffffffffffffffffffffff
U ferrieux
Z 2c5a8f5a1fd44b6c91e59c404597cfeb