What is equivalent of boost interprocess named_mutex in STL
Answers
https://msdn.microsoft.com/en-us/library/windows/desktop/ms682411(v=vs.85).aspx
Is it possible to use mutex in multiprocessing case on Linux/UNIX ?
Answers
I've an application with boost named_mutex implemented to lock multiple modules in a C++ project (Visual Studio). I need to remove all boost dependencies at all costs.
Is there any other way I can implement it? If possible in STL
btw, I'm using C++11
Answers
There is none.
You'll have to drop down to platform specific APIs
https://msdn.microsoft.com/en-us/library/windows/desktop/ms682411(v=vs.85).aspx
Is it possible to use mutex in multiprocessing case on Linux/UNIX ?
Etc.
Answers
You can take a look at Intel's tbb library. It is very fast and created to help with parallel execution.
https://www.threadingbuildingblocks.org/docs/help/reference/synchronization/mutexes.htm
コメント