I am running Linux, and I would like to be able to make parallel function calls into a shared library (.so) which is unfortunately not threadsafe (I am guessing it has globa
What library is it? Is it something large? I'm wondering if you couldn't fix the library to be threadsafe in some way, then build your code using the threadsafe version of the library. It depends on the size of the library, and what's wrong with it, but if you could fix the library, you'd be able to build your app the way you want, as well as help everyone else out.