Domanda

I want to develop mutithreaded C++ code to embed javascript in it using spidermonkey, so it was supposed that when I was building spidermonkey source code, I should build it as thread safety "-DJS_THREADSAFE" OR if I didn't do that I can use it and get the benefit of multithread code and when compiling my application I set the option of building the application as thread safety "-DJS_THREADSAFE" and don't need to rebuild the source code of spidermonkey ?

È stato utile?

Soluzione

“Support for JS_THREADSAFE was recently removed, and threadsafe builds are now enabled by default.” https://developer.mozilla.org/en-US/docs/SpiderMonkey/Build_Documentation#Building_your_application

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top