in reply to perl tk mainwindow hangs
Since you say you cant use ithreads, you have to break the CPU heavy (I hope the reason your blocking is CPU, and not IO, since IO can be made async with a medium amount of work) workload into chunks, or during the work, every 100 ms poll to the GUI event loop for the event loop to service pending GUI events.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: perl tk mainwindow hangs
by simonz (Sexton) on Sep 24, 2013 at 04:01 UTC | |
by choroba (Cardinal) on Sep 24, 2013 at 09:54 UTC |
In Section
Seekers of Perl Wisdom