Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 70e37acd08ca551d499db6ca8d94a75a3c78b76829bb054df4f6977052b13eb1
Ticket: 0d1a98ce9d8f8eb7cbb2ce09f92ec4289f8aba29
Custom notifiers (Xt) broken on 9.1: timers never fire
User & Date: serhiy.storchaka on 2026-10-14 08:54:58
Changes

  1. icomment:
    The hang is a 9.1 regression from [/info/def988e9cd|def988e9cd]: Tcl_SetMaxBlockTime() and Tcl_ServiceAll() now call the internal TclpSetTimer() instead of Tcl_SetTimer(), bypassing the setTimerProc hook installed by Tcl_SetNotifier(). The timer of a custom notifier is never set, so this affects any custom notifier, not only Xt. 8.6 and 9.0 are not affected.
    
    Proposed fix in branch [/timeline?r=xt-notifier|xt-notifier]: call Tcl_SetTimer2() there, plus your tclXtNotify.c, tclXtTest.c and unixNotfy.test patches. With it your script returns 1 and <tt>xttest unixNotfy.test</tt> passes.
    
  2. login: "serhiy.storchaka"
  3. mimetype: "text/x-fossil-wiki"
  4. title changed to:
    Custom notifiers (Xt) broken on 9.1: timers never fire