good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^3: Problems with Tk freezingby rinceWind (Monsignor) |
on Feb 06, 2007 at 15:49 UTC ( [id://598565]=note: print w/replies, xml ) | Need Help?? |
Having a second look at the code, your app looks very busy. When does it ever hand control back to the event loop to process events? My suggestion is to defer some of the movement events by using timers with after or repeat. This will relinquish some control back to the controlling event loop, and it might get a chance to service some events that have been queued up. --
In Section
Seekers of Perl Wisdom
|
|