Is ScriptX multithread-safe all the time? #24
|
Because of technical problems, in our project, a deteached thread is created to wait for messages posted to a Global engine, and this thread dispatch them to corresponding engines which handles data actually. |
Answered by
LanderlYoung
Apr 28, 2021
Replies: 1 comment
|
A Local<> must be called in the engineScope that it blongs. Engine scope itself holds lock, so it's safe to entet the same engine in different threadss. |
0 replies
Answer selected by
yqs112358
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A Local<> must be called in the engineScope that it blongs.
Engine scope itself holds lock, so it's safe to entet the same engine in different threadss.