You should definitely move direct network calls off the main thread. Try posting to npm.netlib (I have cc'ed this post) to figure out whether there is code in the networking library that does this automatically, or whether you need to manually setup a worker thread.
I'm not sure that this is the question ;) but when you open a necko channel using AsyncOpen, you don't have to take care of any threading issues. You will get asynchronous callbacks for the transfer, on the thread that you called asyncOpen on.
_______________________________________________
Mozilla-netlib mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-netlib
