.
D 2026-10-16T22:01:31.174
J cmimetype text/x-fossil-wiki
J comment In\sthe\sretry\sloop\sof\sTcl_Sleep()\s(win/tclWinNotify.c),\svdelay.usec\s=\sdesired.usec\s-\snow.usec\sis\snegative\swhen\sthe\sremaining\stime\scrosses\sa\ssecond\sboundary,\sand\s<nowiki>(unsigned\slong)vdelay.usec\s/\s1000</nowiki>\sturns\sit\sinto\sabout\s4294967\sms,\sso\sSleepEx()\swaits\sabout\s71.6\sminutes.\sThe\sloop\sruns\swhen\sSleepEx()\swakes\sbefore\sTcl's\sclock\sreaches\sthe\starget,\swhich\shappens\seasily\son\svirtual\smachines:\sa\s9.0.5\stclsh\sand\sits\schildren\sall\shung\sin\s<nowiki>[after\s8000]</nowiki>\sfor\smore\sthan\s10\sminutes\son\sa\sWindows\s11\sVM.\n\nThe\scast\scame\swith\s[837dbec7cc].\s8.6\s(signed\sarithmetic)\sand\s9.1\s(TIP\s723)\sare\snot\saffected.
J foundin 9.0.5
J login serhiy.storchaka
J priority 5\sMedium
J resolution None
J severity Minor
J status Open
J submitter serhiy.storchaka
J subsystem 03.\sTimer\sEvents
J title Windows:\safter\sand\sTcl_Sleep\scan\ssleep\sabout\s72\sminutes
J type Bug
K 858404314692d758d1aba126ac6dd0c448c1de3b
U serhiy.storchaka
Z 9ad871891dca7456a08d3b621171c73a