Tcl Source Code

View Ticket
Login
Ticket UUID: 844f778a6cc8e7d97ce1a637a47f6d89cff588f3
Title: (How) does TimerExitProc remove idle event sources
Type: Bug Created on: 2025-11-15 17:13:07
Submitter: oehhar Assigned to: nobody
Subsystem: 03. Timer Events Severity: Minor
Priority: 5 Medium Last modified: 2025-11-15 17:13:07
Status: Open Closed by: nobody
Resolution: None Closed on:
Version: main
Description:

generic/tclTime.c contains the function "TimerExitProc". The comment speaks about canceling idle events.

Unfortunately, I only see cancellation of timer events.

Is it me (again) ?

https://core.tcl-lang.org/tcl/file?udc=1&ln=on&ci=tip&name=generic%2FtclTimer.c&ln=198-232

The idle events reside in idleList to lastIdlePtr members of ThreadSpecificData. They are not checked.

Sorry, Harald