krpc icon indicating copy to clipboard operation
krpc copied to clipboard

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

Open arthurp opened this issue 8 years ago • 1 comments

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.

arthurp avatar Oct 23 '17 15:10 arthurp

Sounds sensible. Will add these!

djungelorm avatar Oct 23 '17 17:10 djungelorm