Skip to content
Tcl Source Code Artifact [5e17f502e8]
Login

Artifact [5e17f502e8]

Artifact 5e17f502e858a5887e9deee111f5e40620d387f2:

Ticket change [5e17f502e8] - Ticket [b9bfaf5fdb2cb794|b9bfaf5fdb] <i>EAGAIN throw in reflected channel in blocking mode causes eof (data loss)</i> status still Open with 3 other changes by sebres on 2016-07-12 06:59:09.
D 2016-07-12T06:59:09.645
J icomment >\sIf\sthe\stransferred\schannel\sis\sset\sto\sblocking\smode,\sEAGAIN\sshould\sresult\sin\san\sEOF.\r\n\r\n-\sWhere\sit\sis\sso\sdescribed?\r\n-\sWhy\sit\sshould\sbe\scomprehensible?\sIf\ssomeone\swill\sproduce\sEOF,\sthe\scallback\sshould\sreturn\szero\sbytes.\sImho,\sEAGAIN\sstands\sclearly\sfor\srepeat\sagain.\r\n\r\nOnce\sagain,\sas\sI\salready\swrote,\sof\scourse\sthe\sworker\scan\salthough\swait\sinside\sread\scallback\s(2nd\srun),\sbut\sthere\sare\ssituations,\swhere\sit\scan\sbe\simpossible\sor\sundesirable\s-\sjust\sfor\sexample\sif\sthe\sworker\sasynchronously\sserves\smultiple\schannels\s(multi-channel\sfactory),\sthe\sentering\sof\swait\scycle\stcl-side\s(vwait,\setc.)\smakes\ssometimes\stoo\slarge\soverhead\s(in\saddition\sto\sgrowing\sof\sthe\scall\s/\sframe\sstack).\r\n\r\nApart\sfrom\sthe\sfact,\sthat\sanother\sthread\shas\smade\sblocking\smode\s(so\sit\swill\sand\scan\swait\salso).\r\n\r\n>\swould\sbreak\sexisting\simplementations.\r\n\r\nThe\ssolution\swill\sbe\san\seasy-fix,\sso\sI\sdon't\sthink\sit\swill\sbreak\ssomething\sexisting.
J login sebres
J mimetype text/plain
K b9bfaf5fdb2cb794475fa70121c88859a8fc8496
U sebres
Z bbabd3c1a63ce412b033a01a8c08a60e