Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2025-11-15
17:13 • New ticket [844f778a6c] (How) does TimerExitProc remove idle event sources. artifact: d3788528b5 user: oehhar

(How) does TimerExitProc remove idle event sources

Open844f778a6cc8e7d97ce1a637a47f6d89cff588f3Created 1 year agoUpdated 1 year ago
Descriptionwiki2025-11-15 17:13:07
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

Log in (anonymous is fine) to add a comment.