[Project_owners] thread safety

Axel Hecht axel at pike.org
Tue Jul 18 15:06:33 EDT 2006


eric.jung at yahoo.com wrote:
> Thanks for the reply, Axel.
> 
>> In general, nothing in mozilla is threadsafe. There are a few exceptions  
>> to this rule, but only few. 
>  
> This is bad news for me, indeed.
> 
> 
>> There are several ways to hack around this, you could for example proxy  
>> stuff on the main thread for xpcom objects. 
> 
> I don't understand what you mean. Can you explain further?

I have never used it myself, but I found this page, which is old docs. 
http://www.mozilla.org/projects/xpcom/Proxies.html

Axel

>  
>> With js objects itself, or the RegExp in particular, no idea. I suggest  
>> to either dig in the code or ask in the jsengine newsgroup on mozilla.org. 
> 
> OK, thanks.
>  
> 
> 


More information about the Project_owners mailing list