What's a good, threadsafe, way to pass error strings back from a C shared library
- by PerilousApricot
Hello, all-
I'm writing a C shared library for internal use (I'll be dlopen()'ing it to a c++ application, if that matters). The shared library loads (amongst other things) some java code through a JNI module, which means all manners of nightmare error modes can come out of the JVM that I need to handle intelligently in the application.…