Skip to content
Tcl Source Code Artifact [6ff3d675ef]
Login

Artifact [6ff3d675ef]

Artifact 6ff3d675ef8723457cc6208b8c59154090b1388b:

Manifest of check-in [6ff3d675ef] - [bug/stable fix] don't execute TimerSetupProc directly (may be unwanted, because changes the blocking time, also if TCL_TIMER_EVENTS|TCL_IDLE_EVENTS not set), so let do that within Tcl_DoOneEvent cycle only (we have registered an event source). [performance] optimization for "after 0" as immediately execution without time (invoke as soon as possible) - generation and invocation of such timers twice faster now. [performance] leave handler-event in the queue as long as pending timers still available (with expired time or immediate timers) by generation lock, resp. changed/not invalidated timer-queue) - so fewer event/allocations and guarantee to be executed within the next event cycle; by sebres on 2017-07-03 13:23:20.
B 663239bac8475b566b7a8da1b5224320900cdab5
C [bug/stable\sfix]\sdon't\sexecute\sTimerSetupProc\sdirectly\s(may\sbe\sunwanted,\sbecause\schanges\sthe\sblocking\stime,\salso\sif\sTCL_TIMER_EVENTS|TCL_IDLE_EVENTS\snot\sset),\sso\slet\sdo\sthat\swithin\sTcl_DoOneEvent\scycle\sonly\s(we\shave\sregistered\san\sevent\ssource).\r\n[performance]\soptimization\sfor\s"after\s0"\sas\simmediately\sexecution\swithout\stime\s(invoke\sas\ssoon\sas\spossible)\s-\sgeneration\sand\sinvocation\sof\ssuch\stimers\stwice\sfaster\snow.\r\n[performance]\sleave\shandler-event\sin\sthe\squeue\sas\slong\sas\spending\stimers\sstill\savailable\s(with\sexpired\stime\sor\simmediate\stimers)\sby\sgeneration\slock,\sresp.\schanged/not\sinvalidated\stimer-queue)\s-\sso\sfewer\sevent/allocations\sand\sguarantee\sto\sbe\sexecuted\swithin\sthe\snext\sevent\scycle;\r\n
D 2017-07-03T13:23:20.870
F doc/timerate.n a529550027203a9de4892445697466e4ca0c819e
F generic/tcl.h dfa4ddb0f343de4cdae1db44ecd7a76b869653a6
F generic/tclBasic.c 6361bf74d7f96cefed956f4746fddd48247aebb0
F generic/tclBinary.c c3752620ab82415387dc9313ff2a1f53d0de388a
F generic/tclClock.c 5d965bbda580b12f460cfc58bb0534aa20aee579
F generic/tclCmdMZ.c f26a0cc58c473e5f0d762595e537fe894a5ffcf4
F generic/tclCompile.h 0a39d5c68a080e3e46841143dd0a73798c28f62b
F generic/tclExecute.c 9693a20721fa9ac44339f5fc6ef0aa2ff025dd3f
F generic/tclInt.h 76b0a925dfa4eaad87c26bc2135c86df9eace14f
F generic/tclInterp.c e18f44e8d10917604fdef8be7084431a8292fded
F generic/tclPathObj.c b6132cbd7e0258a5f7b802110b607d73abca347f
F generic/tclTimer.c 22e3a8cb3cb7acb4c8bdd85ed4688fa1431a287a
F library/reg/pkgIndex.tcl 062b244a80acccdf31b0ee98b129506b47402b1b x
F tests/binary.test 66f59edf2ce5e41562f64576f4fad5d5114c6c1b
F tests/event.test 394d59e98dc9659fb6ea3798009ae511a281cbc5
F tests/fileName.test 8a5c9579726e9b2e3d8242cf28010ae5b01c11a1
F tests/fileSystem.test 97807a032df6a17e512895331fba69b02033e5d0
F unix/tclUnixInit.c 8f99d96975423b9e41bdbb2441baf882c2bda634
F unix/tclUnixTime.c 4978d31845bc2feecede0f90028fc25ed419f97a
F win/tclWin32Dll.c aa87d647beec1321de7da43309665c9a15f8a6e5
F win/tclWinInit.c 99497152a8abfba7e71e30a20adc9937dfbbc163
F win/tclWinPipe.c ac4c0d8e5d287c9a8fdc3c420c3ccff0c4cb9c68
F win/tclWinTest.c 5715c69e5e2dcf9b1c6e0f63c57c8b885a5d66ae
F win/tclWinTime.c 088be13dc28266473259f07f49ff586c1c8c33d6
P b7f3dfa629f7073b8a7ed10d772ae24260774adc
R fec0757fc3671f8ad662d71fe20564b9
U sebres
Z f56c29b715ed9f5f3483b48b51207d53