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
Instead of using threads, you can use multiple processes, each doing some of the work. This is very common on *nix, and is usually easier to code.