質問

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 ?

役に立ちましたか?

解決

“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

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top