.
D 2000-10-26T05:02:26
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s1429\sRFE\nVersion:\s8.0.4\nSubmitDate:\s'1999-03-04'\nLastModified:\s'2000-05-04'\nSeverity:\sSER\nStatus:\sAssigned\nSubmitter:\spat\nChangedBy:\shobbs\nRelatedBugIDs:\s5339\nOS:\sOther\nMachine:\sNA\nFixedDate:\s'2000-10-25'\nClosedDate:\s'2000-10-25'\n\n\nName:\nAlexandre\sFERRIEUX\n\nDesiredBehavior:\n\s\s\s\sThe\sTcl\sChannel\smodel\sis\sa\suseful\sabstraction,\sthat\seffectively\stries\sto\n\s\s\s\swipe\sout\smany\sOS\speculiarities.\sHowever,\sthe\sparticular\scase\sof\n\s\s\s\s"bidirectional"\schannels\s(e.g.\spipes\sin\s"r+"\smode)\sis\ssomewhat\stricky:\n\s\s\s\sin\sthis\scase\sa\ssingle\schannel\shides\s*two*\sOS-level\sdescriptors/handles.\n\s\s\s\sThe\sproblem\sis\sthat\smost\sconfiguration\soperations\sapply\sto\sboth\n\s\s\s\ssimultaneously,\swhich\sis\snot\salways\swanted.\n\s\s\s\s\sFor\sexample,\s[fconfigure\s-blocking\s0]\scannot\sbe\stold\sto\sonly\sthe\swrite\n\s\s\s\sside\sof\san\sr+\spipe.\sAlso,\sas\salready\snoted\son\sclt,\syou\scannot\sclose\sonly\n\s\s\s\sthe\swrite\sside,\sso\sthat\sthe\schild\sgets\san\sEOF,\sthen\slisten\sto\sits\slast\n\s\s\s\swords\son\sthe\sread\sside:\sboth\sare\sclosed\sat\sthe\ssame\stime.\sA\sslightly\n\s\s\s\sdifferent\scase\sis\sthat\sof\ssockets,\swhich\sare\sindeed\smade\sof\sa\ssingle\n\s\s\s\sbidirectional\sdescriptor.\sStill,\sit\swould\sbe\svery\suseful\s(for\sthe\ssame\n\s\s\s\sreasons)\sto\sbe\sable\sto\sissue\sa\shalf-close,\sas\sis\spossible\swith\sthe\n\s\s\s\sshutdown()\ssyscall.\n\s\s\s\s\n\s\s\s\sProposed\sunified\ssyntax\sfor\sthis\sextension:\sa\s"-readside/-writeside"\n\s\s\s\soption\sto\sthe\s[close]\sand\s[fconfigure]\scommands.\n\s\s\s\s\n\n\n\n\n5339\sdiscusses\sthe\sseparation\sof\sr/w\sfor\sclose.\s\n--\s05/04/2000\shobbs
J foundin obsolete:\s8.0.4
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 63.\s(unused)
J title Need\sto\ssplit\sbidirectional\schannels\s(sockets;\spipes\sor\sdevi
J type Patch
K 219159ffffffffffffffffffffffffffffffffff
U nobody
Z c9b390782b453cb4e073227633867545