I’m coming from Python and heading into C++ at full-throttle. And, one of the questions that I came up with recently is this: Is there a widely used open source multiprocessing abstraction library in C++? I’m thinking of something that makes multiprocessing (ala fork) a bit easier to manage, similar to Python’s multiprocessing stdlib library.
I guess there isn’t anything like this. I fully expected there to be a Boost::Process just like there is a Boost::Thread.
OpenMP (Open Multi-Processing) is the only library I know of http://en.wikipedia.org/wiki/OpenMP — it does not however, handle things the way Python does by creating new processes. OpenMP is a compiler extension, supported by Microsoft and GNU GCC.
Example: OpenMP sieve of eratosthenes