Hi all,

I'd like to know more about this method (see subject). I need to call
it in another then the main thread (e.g. one of io thread fro the pool
or socket transport service thread) to create event queue to make
nsIInputStreamPump be able to run on other then the main thread.

But this is not possible - i got assertion "Native event queues should
only be used on the main thread" during call of the method mentioned in
subject. Pump is initialized succesfully (no error code is returned)
but is not working (no callback are given).

Similar problem is during initialization of nsAsyncStreamCopier
implementation in other then the main thread. But as described in its
documentation it works only on temporary abckground thread.

My questions are:
- Is it possible to create event queues on other then main thread?
- Is it possible to init the input stream pump and async stream coppier
not to work on the main thread?

Thanks very much for suggestions.

-hb-

_______________________________________________
Mozilla-netlib mailing list
Mozilla-netlib@mozilla.org
http://mail.mozilla.org/listinfo/mozilla-netlib

Reply via email to