[EMAIL PROTECTED] wrote:
Thank you for suggestion. But when I use this method no callbacks are fired. There are no assertions during initialization of the input stream pump but it is not working.
On the main thread all works fine.
As I can read in documentation of CreateMonitoredThreadEventQueue() method like this created queue do not support callbacks. It implies that using this method is not much usefull for me because pump cannot fire any events (AsyncWait on the asynchronous stream has no effect altought result value is NS_OK).
This problem is not much priority. My goal is to lower load of the main ui thread to allow transfers and all data receive on some background thread but still using capabilities of the input stream pump.
Thanks.
-hb-
Necko is not really designed to have consumers on background threads. If you want to share sample code, then I can try to offer some more suggestions.
-Darin _______________________________________________ Mozilla-netlib mailing list Mozilla-netlib@mozilla.org http://mail.mozilla.org/listinfo/mozilla-netlib