in reply to Win32::GUI window freezing, even with threading.
What do you think happens here if there is no data in the queue?
#wait for data, print data to GUI textbox while(Win32::GUI::DoEvents() != -1) { my $tmptxt = $DataQueue->dequeue(); $main_text_window->Append($tmptxt); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Win32::GUI window freezing, even with threading.
by chute (Initiate) on May 28, 2013 at 13:20 UTC | |
by BrowserUk (Patriarch) on May 28, 2013 at 13:40 UTC |