Overview
| Artifact ID: | 17539e3c75d7ae97d3bb69b4893ced66723172cfd7caa199fab19fcf39299146 |
|---|---|
| Ticket: | ac7592e73c10d04b9bd0303308ac3db2396ad6e9
idle events are never processed when a "writable" handler on a nonblocking channel dominates the event queue |
| User & Date: | sebres on 2024-04-02 14:02:48 |
Changes
- icomment:
This issue is even a typical example where idle events will be and can be disadvantaged (if you have many "normal" events, idle event is never happen and it is good so... well, it was good till [0feb3d12b6]). But take a look at Tcl_DoOneEvent (and flag TCL_IDLE_EVENTS). An event cycle of typical reactor (N threads x M interpreters) can and mostly will invoke Tcl_DoOneEvent without TCL_IDLE_EVENTS in main cycle and would invoke it with TCL_IDLE_EVENTS in some helper depending on load (e. g. periodically). Anyway it is not idle and my critic is valid for many reasons, no matter how, you think, the idle may work in Tcl (because often it doesn't work in this way).
- login: "sebres"
- mimetype: "text/x-fossil-wiki"