: <i>8.7 : a blocking memory channel no longer works.</i> plus 5 other changes
by
.
D 2021-06-16T10:30:32.466
J closer nobody
J icomment The\sbehaviour\sthis\sreport\sdescribes\sis\snot\sa\sbug.\s\sThe\sprovided\stest\ssets\san\r\nevent\shandler\sbut\sthen\snever\senters\sthe\sevent\sloop:\r\n\r\n<code><verbatim>\r\nfileevent\s$ch\sreadable\s[list\s::memsock::readhandler\s$ch\s$port\s$handler]\r\n</verbatim></code>\r\n\r\nThis\sbehaviour\sis\snot\ssupported.\s\sAd\sevent\shandler\son\sa\schannel\scan\snot\snot\sbe\r\nprocessed\suntil\sthe\sevent\sloop\sis\sentered.\s\sThe\sexample\smay\shave\sworked\sin\r\nprevious\sversions\sof\sTcl,\sbut\sonly\sbecause\sof\sthe\sbug\sdescribed\sin\r\n[67a5eabbd3d19591]\sand\s[ef28eb1f1516|TCL_FILE_EVENTS\scannot\sdrive\sasync\sI/O\r\nalone].\r\n\r\nIn\sthe\sattached\s"memsock.test"\sexample,\s"sendget"\srelies\son\sthis\sevent\shandler\r\nnoted\sabove\sto\sferry\sdata\sbetween\sthe\ssending\schannel\sand\sthe\sreceiving\r\nchannel.\s\sThis\sis\san\serror.\s\sThat\shandler\sshould\s\snot\sbe\sactivated\suntil\sthe\r\nevent\sloop\sis\sentered.\r\n\r\nThis\s"memsock.test"\sexample\sattached\sto\sthis\sreport\sis\sin\sessence\sa\srestatment\r\nof\s[67a5eabbd3d19591|refchan,\scoroutine,\sand\spostevent\sfrom\sthe\s"watch"\sproc],\r\nand\sthat\sissue\swas\salready\sfixed.\s\sUnfortunately,\sin\sresponse\sto\sthis\snew\r\nissue,\sthat\sfix\swas\sreverted,\seffectively\sunfixing\sissue\s[67a5eabbd3d19591],\r\nand\stherefore\sunfixing\sthe\sreal\sbug\sillustreated\sby\s"memsock.test".\s\sThe\swork\r\nthat\swas\sreverted\srepresents\san\simportant\schange\sin\sthe\sdirection\sof\scorrecting\r\nsome\sfundamental\sissues\sin\sTcl's\sIO\ssubsystem.\s\sThat\swork\sshould\sbe\sreinstated\r\nimmediately\sso\sthat\sit\smakes\sit\sinto\sthe\s8.7\srelease.\r\n\r\nThere\smay\sindeed\sbe\san\soutstanding\sissue\sregarding\swriting\sto\sa\snonblocking\r\nchannel\sand\sthen\sattempting\sto\simmediately\sread\sfrom\sit,\sbut\ssuch\san\sissue\scan\r\nbe\sfixed\sfar\smore\sgracefully\sthan\sby\smaking\sthe\srevert\sin\squestion.
J login pooryorick
J mimetype text/x-fossil-wiki
J resolution Invalid
J status Open
K 18f4a94d03b075c6295903f1f7b80f7e15b156d6
U pooryorick
Z 2a87273daa1641894d00adf8e96d8ac5