On 8/18/11 7:50 AM, Fizitzky, Annie wrote:
So, I opened a new thread (by calling NS_NewThread) and executed
nsIHttpChannel::asyncOpen() on that thread.

The nsIChannel APIs can only be used from the main thread. So you can't do what you're trying to do.

It seems that the nsIHttpChannel doesn't support multi-threaded
streaming.

That's correct.

Are there any other thread-safe versions of these streaming interfaces?

There are not yet.

-Boris
_______________________________________________
dev-embedding mailing list
dev-embedding@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to