Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2006-04-12
22:02 • Ticket [1469327fff] Tcl_DoWhenIdle can't reschedule status still Open wi... artifact: 45c00c80cb user: vincentdarley
15:02 • New ticket [1469327fff]. artifact: a4104417f4 user: vincentdarley

Tcl_DoWhenIdle can't reschedule

Open1469327fffffffffffffffffffffffffffffffffCreated 21 years agoUpdated 21 years ago
Descriptionplain2006-04-12 15:02:12
The man page for Tcl_DoWhenIdle says this:

BUGS
At present it is not safe for an idle callback to
reschedule itself continuously. This will interact
badly with certain features of Tk that attempt to wait
for all idle callbacks to complete. If you would like
for an idle callback to reschedule itself continuously,
it is better to use a timer handler with a zero timeout
period.

Unfortunately, the recommendation it gives to user
timer events doesn't work either, as can be seen in Tk
Bug 1348333, which results in Tk locking up when too
many text widgets are created.

Vince.
vincentdarley Ticket [1469327fff]: 1 change [History diff]2006-04-12 22:02:34
Log in (anonymous is fine) to add a comment.