Reshat Sabiq wrote:
Just when you thought i ran out of questions. :)

I had the misfortune of getting acquainted with COM threading limitations, and the fact that components need to be marshaled between threading apartments in COM.

I haven't heard of anything like that in XPCOM, and i hope that there are no such limitations in XPCOM. Could somebody confirm or disprove this?

XPCOM does not automatically enfornce any threading model; however, many (most) XPCOM components are designed to be used only on the main thread. If you wish to use these components from other threads, you need to use thread proxies (see the interfaces in xpcom/proxy/public and xpcom/thread).

--BDS
_______________________________________________
Mozilla-xpcom mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-xpcom

Reply via email to