Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 3b8390574dc5b981cdb714acdae9067d9be0bdd0
Ticket: 3328635fffffffffffffffffffffffffffffffff
Virtual Time broken on threaded unix
User & Date: chw on 2017-04-13 00:23:12
Changes

  1. icomment:
    From the Tcl'ers Chat for the record (citing myself, sorry):
    
    Regarding TIP#302: I don't remember any man page version of after(n) and Tcl_CreateTimerHandler(3) due to its relative millisecond-ness mentioning absolute time in the wall clock sense for the last 20 years, which makes CLOCK_MONOTONIC a legit time source. After all, any assumptions, that time computations using [clock seconds] et.al. applied to after(n) are correct, are IMO thus cargo-cultivated programming errors. Then there is interp(n) with its IMO wrongly designed time limit based on absolute time. But that certainly came long after after's invention. And why has it to be based on absolute time? And then there is virtualized time? And why was it? And where is it test cased in the core?
    
  2. login: "chw"
  3. mimetype: "text/plain"