Skip to content
Tcl Source Code Artifact [32dd5a6699]
Login

Artifact [32dd5a6699]

Artifact 32dd5a669923a53cb63033eab54ff48be8ebe0282d1f485dc0042fbc3d251869:

Ticket change [32dd5a6699] - Ticket [1d0618000674abdf|1d06180006] <i>channel reads prematurely from stdin on Windows</i> status still Open with 4 other changes by mdehoon on 2025-11-09 02:07:35.
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