Jon Smirl wrote:
> 
> You are also going to get burnt by a long standing bug in XPCOM.
> CreateInstance is not thread safe in XPCOM and there is no way to avoid
> doing CreateInstance from multiple threads when you're an Apache module. My
> current work around is to load all XPCOM objects at init time. 

Perhaps you could spawn a worker thread to do the object creation for
you? Obviously all your objects would have to be thread safe too.

-- 
Adam Lock - [EMAIL PROTECTED]

Reply via email to