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. |
Beta Was this translation helpful? Give feedback.
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. |
Beta Was this translation helpful? Give feedback.
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.