문제

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