SourceForge logo
SourceForge logo
Menu

Re: [wxlua-users] wxURL locking on GetInputStream()

From: John L. <jla...@gm...> - 2009年07月29日 03:59:32
On Tue, Jul 28, 2009 at 6:59 PM, Daniel Aquino<mr....@gm...> wrote:
> I'm having lockups when I try to pull an http page using wxURL.
>
> It gets stuck at GetInputStream but then appears to work fine after
> right clicking on the systray icon...
I assume you are under MS Windows? XP?
> I believe it may be the threads issues that are described on this page:
>
> http://wiki.wxwidgets.org/WxURL
>
> quote: "Under Windows, wxURL and wxThread may have problems to work
> well together. Be sure to construct the wxURL and call
> wxURL::GetInputStream inside the main thread."
wxLua always runs everything in the main thread unless you have
created another thread.
I don't get any delays running your code in MS Windows XP using
wxlua.exe, wxluafreeze.exe, and wxluaedit.exe. They all get a size of
4 and the stream is:
"{
}
"
Regards,
 John

View entire thread

Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /