Skip to content
Tcl Source Code Artifact [f2377f9eb7]
Login

Artifact [f2377f9eb7]

Artifact f2377f9eb70433a023052c8515ae6af78d66d653937858bc670d8614e13acb07:

Ticket change [f2377f9eb7] - Ticket [1464890fffffffff|1464890fff] <i>after command hangs when system time changes</i> status still Open with 7 other changes by anonymous on 2026-08-12 16:17:15.
D 2026-08-12T16:17:15.621
J assignee aku
J closer nobody
J comment Hello,\r\n\r\nI\swish\sto\sreopen\sbug\s#432038,\sand\sits\sduplicate\sbug\r\n#1052859:\r\n\r\nChanging\sthe\ssystem\sclock\shangs\sall\sTcl\sevents\shandlers\r\nthat\sare\sscheduled\swith\sthe\safter\scommand.\r\nThis\smakes\sit\simpossible\sto\shave\sreliable\speriodic\r\nhandlers\swritten\sin\spure\sTcl.\s(They\smay\sdie\r\nunexpectedly\sanytime\ssomebody\sruns\sthe\sdate/time\scommand)\r\n\r\nI've\sjust\sbeen\sbadly\shurt\sby\sthis\svery\sproblem\son\sa\r\nlarge\scluster\swe\smanage:\sWe\shad\ssystem\smonitoring\r\nscripts\swritten\sin\sTcl\sthat\skept\sdying\smysteriously\son\r\nsome\sof\sthe\snodes.\sAnd\sthe\sillness\swas\sspreading\swith\r\ntime...\r\n\r\nContrary\sto\swhat\swas\swritten\sin\sa\scomment\sof\sbug\r\n#432038,\susing\sNTP\sdoes\snot\sprevent\sthe\sproblem:\r\nWe\ssaw\sthe\sproblem\son\smachines\swith\sharware\sclocks\r\nslowly\sdrifting.\sAfter\seach\sreboot,\sNTP\stakes\ssome\stime\r\nfor\sresynchronizing\sthe\ssystem\stime...\shanging\sall\sour\r\nTcl\sscripts\stimers\swhen\sit\seventually\sdoes.\r\n\r\nAlso\sI\scompletely\sdisagree\swith\sthe\sclosing\scomment\sin\r\nbug\s#1052859\sabout\sthe\slack\sof\smonotonically\sincreasing\r\ntimers\sin\sboth\sUnix\sand\sWindows.\r\nThe\sUnix\ssleep\scommand,\sused\sin\stons\sof\sshell\sscripts,\r\nis\scompletely\simmune\sto\ssuch\ssystem\sdate/time\schanges.\r\nThis\sis\seasy\sto\sverify.\sLet's\suse\sin\sTcl's\safter\r\ncommand\sthe\ssame\stiming\sfunction\sthat\sUnix'\ssleep\sdoes.\r\nLikewise,\sWindows'\swaitable\stimers\sare\simmune\stoo.\sI\r\njust\sverified\sit\swith\sthe\ssample\scode\sfor\r\nCreateWaitableTimer\sin\sMSDN\slibrary.\r\n\r\nJean-François
J icomment In\s2026\sthis\sis\sstill\ssuper-problematic\sissue.\r\n\r\nCan\swe\splease\sagree\son\ssome\skind\sof\ssolution?\sOnce\sthe\ssolution\sis\sready,\simplementation\sshould\sbe\seasy.\sBut\sthere\smight\sbe\ssome\sneed\sto\sextend\sthe\sportable\slayer\sto\sexpose\sthe\sunderlying\sOS\sAPI...
J login anonymous
J mimetype text/plain
J severity Minor
K 1464890fffffffffffffffffffffffffffffffff
U anonymous
Z bd3f1cbc9630aecd81f41a8fd7a502aa