Overview
| Artifact ID: | 487c2d7449de0577b818658af5f1cd7c81732f4f |
|---|---|
| Ticket: | 96c3f3b47d13052efb84fefb9328a195f407d859
No processing of after events |
| User & Date: | aspect on 2017-02-12 22:49:49 |
Changes
- icomment:
nice find! This will probably fix neat(ish)ly with [0520d17284]. On a 64-bit build I see something related: % after 9223372036854775808 {puts one} ;# 1<<63 after#0 % after 0 {puts two} after#1 % vwait forever one two Damn c-types .. stdint types would make this easier to fix. But that would break ABI compatibility since Tcl_Time itself is public. It's not entirely clear if timeouts so far in the future that they exceed the capacity of Tcl_Time should simply raise an error, or be re-scheduled every TCL_TIME_MAX seconds by a helper proc. Regarding file event handlers, is there a circumstance under which they will tickle this bug (by overflowing the after time), rather than just being affected by it? I see ChannelTimerProc uses SYNTHETIC_EVENT_TIME (== 0), but it file events can calculate a delay this large that sounds like another bug. - login: "aspect"
- mimetype: "text/plain"