Manifest of check-in
[68698a3ac4]
- Stability fix: queue epoch to guarantee avoid broken queue, service level to avoid reset block time by nested event-cycles (if Tcl_SetTimer does not create it), etc.
Fixed retarded events (using new retarded list, the involve of the retarded events occurs only after checking of all event sources now).
Two opportunities to retard event:
- lazy, using the same event-object: in the handler set event->proc to new (or the same) handler (fast, possible only if not entering new event-cycle in handler);
- create the event with new position "TCL_QUEUE_RETARDED";
New inline functions TclpQueueEventClientData / TclpQueueEventEx to fast creating resp. queuing event with extra data.
by
sebres on
2017-07-10 08:55:58.
B ad65e576eea19ec37de6255c4d9bd790c8bda1c1
C Stability\sfix:\squeue\sepoch\sto\sguarantee\savoid\sbroken\squeue,\sservice\slevel\sto\savoid\sreset\sblock\stime\sby\snested\sevent-cycles\s(if\sTcl_SetTimer\sdoes\snot\screate\sit),\setc.\nFixed\sretarded\sevents\s(using\snew\sretarded\slist,\sthe\sinvolve\sof\sthe\sretarded\sevents\soccurs\sonly\safter\schecking\sof\sall\sevent\ssources\snow).\nTwo\sopportunities\sto\sretard\sevent:\n-\slazy,\susing\sthe\ssame\sevent-object:\sin\sthe\shandler\sset\sevent->proc\sto\snew\s(or\sthe\ssame)\shandler\s(fast,\spossible\sonly\sif\snot\sentering\snew\sevent-cycle\sin\shandler);\n-\screate\sthe\sevent\swith\snew\sposition\s"TCL_QUEUE_RETARDED";\nNew\sinline\sfunctions\sTclpQueueEventClientData\s/\sTclpQueueEventEx\sto\sfast\screating\sresp.\squeuing\sevent\swith\sextra\sdata.
D 2017-07-10T08:55:58.153
F doc/timerate.n a529550027203a9de4892445697466e4ca0c819e
F generic/tcl.h 7729cb3f06b3c920db0538140958f9ae81cf0104
F generic/tclBasic.c 5dc6f29870d2d4ef6e64ab3f23f4bf54cf4a4cec
F generic/tclBinary.c 4124da0756dc6e2c86b6c2646dd3c7f478081e2c
F generic/tclClock.c 4771745494637db29612474aede8ead32d5499d0
F generic/tclCmdMZ.c 968e2677b164e055f9a72abfb268a5edecc5e18f
F generic/tclCompile.h 3abc2d982ae7647d52f8776f2b19dbd52af10f3f
F generic/tclEvent.c ccbdff1d1414035a2a845b242acc86e43e626bf1
F generic/tclIO.c 9d12eeed6e5d73fc3589b41b814390d707e8cec1
F generic/tclIO.h 11b165b77b5b9c8fdc34c0a40f3ca90a069737aa
F generic/tclIndexObj.c cbd2ec7c8946a5b50dddbf38b83d627d71921f98
F generic/tclInt.h 501a492dd03329fdd320a80043e45fae9c4e3c92
F generic/tclInterp.c e1a376d8fa9f81add80450a5972b176d0ebdd7cc
F generic/tclNotify.c 191a638db15ef324f1338ac3e36792bfa0a0043a
F generic/tclPathObj.c 6c6428a1c565405c673de3e13fb1a160cd69451c
F generic/tclTimer.c 45223c97eb685a8acb8724a4f34a951ab03c7df5
F library/http/http.tcl 7e36f95bccb4a6516c2a58750f0a0f62993ad3b6
F library/http/pkgIndex.tcl 971ab76aa55a7d8bb04043b158f7d23c1a8decec
F library/reg/pkgIndex.tcl 9033b389270f236ac7f3a4ef62a43fdbd4068d21 x
F tests-perf/test-performance.tcl 70523c268fdf9e3ec70457904c65113afb7d8e00
F tests-perf/timer-event.perf.tcl 8965018ed3e4538c02b6846501e4d31fadfd89ba
F tests/binary.test af1523bb56c3e42da05a010e72976290993947ae
F tests/chanio.test ba47ce3dbdb78e85e32522d6acff92b94e64d57c
F tests/event.test 2e9ac3da16b7cbf52e57f66f844784d8253381e2
F tests/fileSystem.test 3d2d34f6c089b21649de17cc40f1ef9749c3901b
F tests/http.test 8acfacc189d615a9cbef6943b7912bc3d732a701
F tests/interp.test 7b4cec82edc295cc35e016925ef4c6ab8492aa58
F tests/io.test 171e7f1b8823da5ed3ca0a70b1008e60232c51b9
F tests/timer.test 5873dee01f167883fec71d50fae7753b4d2b25c4
F unix/Makefile.in 59ebf423d7bf73d032c51c5f27e10e9a1e08cc3a
F unix/configure e80787ed80d20fb70a5cf8c9f005872eae509329 x
F unix/configure.in 03d672c284cbd6a1b20ac6fa1b43806475a37740
F unix/tclUnixEvent.c 0ab5d0268c63eec7a1db2b83406ce815d17af2d5
F unix/tclUnixInit.c cf2a2e22e3a57d9d5c409e471cb5fc5f7fd96d41
F unix/tclUnixNotfy.c 40e89a2d37d0affe6841f18a411592ef3afa29f2
F unix/tclUnixTime.c a139406957e6bed629b4ffe8111893ab5a7aeaee
F win/Makefile.in 13ade80e666cc8fa7922987d60edbbc3491532c4
F win/tclWinInit.c e0bd2955099fe834c76f4ee966911ff87070a944
F win/tclWinInt.h f641fbb63ee844f56488af5cc4a1859b52888f81
F win/tclWinNotify.c 8f77cd387a6f6a3e36a77fd51292a30f23601ef4
F win/tclWinPipe.c 7a180d9563467afe19aeb4c6f01a989ed3d75aa5
F win/tclWinReg.c a45fb2de164140e9a3b9db566fe774168e03d392
F win/tclWinTime.c cbe5b50ba1564877d740917aa72045724e9a46f7
P fed961497a0db3b0cd1f9958b94d7c312f1b67b7
R 595c6c828e968ef9943b2c0d1fe8c3bd
U sebres
Z a8847f7279cdf775f813bcd2f318008f