in reply to Re^2: Win32::GUI window freezing, even with threading. (Wrong solution)
in thread Win32::GUI window freezing, even with threading.
That main sub is going to thrash the life out of the CPU (100% of one core (at least; possibly more) even when nothing is happening.)
How to fix that?
Moving to Tk instead of Win32::GUI to address the OPs problem is a mistake as well.
Well, it wasn't really meant to address the OPs problem, I just don't Win32::GUI much
The mistake the OP is making is to try handing the responsibility of adding the data to the GUI list back to the event-loop thread.
Which translates into what linechanges in OPs code?
:)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Win32::GUI window freezing, even with threading. (Wrong solution)
by BrowserUk (Patriarch) on May 28, 2013 at 09:07 UTC |