Hi,

I have a separate non UI thread with a Monitored Thread eventQueue for 
it. On this thread i want to create an XPCOM object. Using 
do_CreateInstance gives me a debug assertion for nsNativeComponentLoader 
   being not thread safe !!!

I can use do_GetService but i cannot use do_CreteInstance. I have looked 
into some code in LDAP XPCOM SDK, Mailnews, IMAP all the non-UI threads 
do a "new" to create objects, I can do the same but i want to make use 
of my interfaces and XPCOM to create and manage these objects for me.

I want to know how do i create XPCOM objects on a separate non-UI thread.

thanks,

- Rajiv.


Reply via email to