<i>channel reads prematurely from stdin on Windows</i> status still Open with 4 other changes
by
.
D 2025-11-09T02:07:35.311
J icomment The\sConsoleReaderThread\sfunction\sin\stcl/win/tclWinConsole.c\sis\svery\sold\scode\sdating\sback\sat\sleast\sto\s1999.\sThis\swas\sbefore\sWindows\sXP\scame\sout,\swhich\sintroduced\sthe\sMsgWaitForMultipleObjects\sand\sMsgWaitForMultipleObjectsEx\sfunctions\sin\sthe\sMicrosoft\swin32\sAPI.\sPerhaps\sin\s1999\sit\swas\snecessary\sto\screate\sa\sthread\sto\smonitor\sstdin\sactivity\swhile\salso\shandling\sGUI\sevents.\sI\shaven't\stried\sit\syet,\sbut\sthe\sdocumentation\sof\sMsgWaitForMultipleObjects/Ex\ssuggests\sit\scan\swait\sfor\sa\sGUI\sevent\smessage\sor\sa\sconsole\sinput\sevent\sat\sthe\ssame\stime.\sIf\sso,\srunning\sa\sseparate\sthread\sfor\sconsole\sinput\smay\sno\slonger\sbe\snecessary.
J login mdehoon
J mimetype text/plain
J username mdehoon
K 1d0618000674abdf701021d69eaa858cbccf14a4
U mdehoon
Z b2ebbfb52bfc68aaf31c97ac1d01067f