kRPC: Control the game using C#, C++, Java, Lua, Python...

kRPC: Control the game using C#, C++, Java, Lua, Python...

7.8k Downloads

Documentation: What is thread-safe in the client APIs?

arthurp opened this issue ยท 1 comments

commented

The documentation does not seem to specify whether the client APIs are thread safe. One test case does appear to show thread safety: testThreadSafe. However, since I don't really know the code I cannot tell exactly what this implies is thread-safe.

It would be very nice to have a clear statement in the client documentation specifying which parts of the API are thread-safe and which are not (if any).

PS: I'm personally interested in the Java API, but it would probably be good to include this information for all the APIs.
PPS: I'm interested in this since I work on a concurrent language on the JVM that I want to use for KSP scripting since automation and control are naturally concurrent in many cases.

commented

Sounds sensible. Will add these!