Tcl Source Code

Check-in [68698a3ac4]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment: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.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | sebres-8-6-event-perf-branch
Files: files | file ages | folders
SHA1: 68698a3ac4ff55c1e43649d1e3c16f18504a21d3
User & Date: sebres 2017-07-10 08:55:58.153
Context
2017-07-10
08:59
tclUnixNotfy.c: we should wait for notifier at least once in case of waitForFiles (regardless of the... check-in: b13e24b699 user: sebres tags: sebres-8-6-event-perf-branch
08:55
Stability fix: queue epoch to guarantee avoid broken queue, service level to avoid reset block time ... check-in: 68698a3ac4 user: sebres tags: sebres-8-6-event-perf-branch
08:53
merge resp. reintegrate sebres-8-5-event-perf-branch to 8.6 check-in: fed961497a user: sebres tags: sebres-8-6-event-perf-branch
Changes
Unified Diff Side-by-Side Diff Patch
Changes to generic/tcl.h.
Changes to generic/tclIO.c.
Changes to generic/tclInt.h.
Changes to generic/tclNotify.c.
Changes to tests/chanio.test.