Skip to content
Tcl Source Code Artifact [4a9052bba4]
Login

Artifact [4a9052bba4]

Artifact 4a9052bba4fee24452c0ed2e6903a29040f8c9101177a53acbba0379b26e5da1:

Ticket change [4a9052bba4] - Ticket [858404314692d758|8584043146] <i>Windows: after and Tcl_Sleep can sleep about 72 minutes</i> status still Open with 6 other changes by jan.nijtmans on 2026-10-17 06:51:49.
D 2026-10-17T06:51:49.577
J assignee aku
J closer nobody
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.\r\n\r\nThe\scast\scame\swith\s[837dbec7cc].\s8.6\s(signed\sarithmetic)\sand\s9.1\s(TIP\s723)\sare\snot\saffected.
J icomment +1\r\n\r\nPlease\sgo\sahead
J login jan.nijtmans
J mimetype text/x-fossil-wiki
K 858404314692d758d1aba126ac6dd0c448c1de3b
U jan.nijtmans
Z 6b7b4d8156249bc43989b2e2e482dda0