We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
用puerts在unity创建多个jsenv,然后在多线程中每个线程访问一个jsenv,以此来实现互不通讯只返回结果到c#的多线程js运算,这样会触发faq里的 "概率报Maximum call stack size exceeded"问题吗?
关于 THREAD_SAFE 宏,我只需在c#调用jsenv实例时 #if THREAD_SAFE lock(jsenv){ #endif THREAD_SAFE ...
即可么?还是需要在哪里做额外改动?
The text was updated successfully, but these errors were encountered:
1、要自己加--thread_safe参数编译plugin 2、Unity的Player Setting那加个THREAD_SAFE宏
Sorry, something went wrong.
No branches or pull requests
detail | 详细描述
用puerts在unity创建多个jsenv,然后在多线程中每个线程访问一个jsenv,以此来实现互不通讯只返回结果到c#的多线程js运算,这样会触发faq里的
"概率报Maximum call stack size exceeded"问题吗?
关于 THREAD_SAFE 宏,我只需在c#调用jsenv实例时
#if THREAD_SAFE
lock(jsenv){
#endif THREAD_SAFE
...
即可么?还是需要在哪里做额外改动?
The text was updated successfully, but these errors were encountered: