Subj : Re: SpiderMonkey and thread safety To : Costas Harizakis From : Brendan Eich Date : Tue May 13 2003 02:01 pm Costas Harizakis wrote: >I am using the engine in a multithreaded environment. However, every single >thread is associated with its own Runtime, which is used to create exactly >one Context. Does the abovementioned configuration imply that thread safety >flags must be enabled during the engine build? > > Yes. See, e.g., news://news.mozilla.org:119/3EB7DB18.1090006@meer.net and followups. /be >I've seen that some functions in jsdtoa.c for example, that compete for the >members of a global linked list - the author mentions though that race >conditions can only produce memory waste, no crashes though. Are there any >other implications, probably more difficult to discover? > >--harizak > > > > > .