Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 3ba9e47b17d2b80f63be4c82479bbb3f2344507e0d44bcf64d0e5e93c2957547
Ticket: 1802895fffffffffffffffffffffffffffffffff
AfterDelay overflow
User & Date: sebres on 2022-08-18 13:27:58
Changes

  1. icomment:
    Fixed in RFE [fdfbd5e10].<br/>
    Just to point to possible fix - take a look for <code>TclpGetUTimeFromObj</code> (that used in <code>Tcl_AfterObjCmd</code> now) in [/tcl/vdiff?diff=2&from=23eaea57edea4be8&to=2a854432fbb13877|diff].
    Basically it falls back to <code>0x7FFFFFFFFFFFFFFFL µs</code> when double representing time offset is larger than <code>0x7FFFFFFFFFFFFFFFL µs</code>.
    (The branch has better timer granularity and timers are microseconds precise, so even floating point values are possible).
    And <code>0x7FFFFFFFFFFFFFFFL µs</code> corresponds to <code>292277024</code> years.
    
  2. login: "sebres"
  3. mimetype: "text/x-fossil-wiki"