Overview
Artifact ID: | f80db57b1aa46e162d4929f9fc018e74d28d9c9c |
---|---|
Ticket: | ef34dd2457472b08cf6a42a7c8c26329e2cae715
fileevent writable starves bgerror |
User & Date: | anonymous 2014-07-06 20:42:21 |
Changes
- closedate changed to: "2456845.36275289"
- closer changed to: "anonymous"
- icomment:
Not a bug, works just like it should. from the manpage of bgerror(n): "When Tcl detects a background error, it saves information about the error and invokes a handler command registered by interp bgerror later as an idle event handler." ^^^^^^^^^^^^^^^^^^^ ...and Tcl_DoOneEvent(3) states that idle callbacks are processed only once there are no other events to process. In the example, the event loop never gets a chance to do idle callbacks (and bgerror _is_ an idle callback) because there's always a [fileevent readable] event.
- login: "anonymous"
- mimetype: "text/plain"
- resolution changed to: "Rejected"
- status changed to: "Closed"