Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 1211f5a34cb33fd33361015e82f0f30be3d0897efde4cba1e0cbecfac731f383
Ticket: 3328635fffffffffffffffffffffffffffffffff
Virtual Time broken on threaded unix
User & Date: serhiy.storchaka on 2026-10-21 13:39:35
Changes

  1. icomment:
    Harald, I tested it on Linux: with the wall clock shifted 1 hour forward by an <tt>LD_PRELOAD</tt> shim, <tt>after 2000</tt> hangs with current trunk and takes 2 seconds with the branch. The full test suite passes on Linux, and the notifier, timer, thread and I/O tests on FreeBSD, NetBSD, OpenBSD, DragonFly and OpenIndiana. Windows needs no change, since its waits use relative timeouts. macOS has no <tt>pthread_condattr_setclock()</tt>, so there the behavior is unchanged; <tt>pthread_cond_timedwait_relative_np()</tt> could fix it, but I cannot test macOS.
    
  2. login: "serhiy.storchaka"
  3. mimetype: "text/x-fossil-wiki"