I am working on a project that uses boost::interprocess_mutex
es all over the place, even though the application never even fork()
s children, but heavily relies on multi-threading.
Is it correct to assume that all those interprocess_mutex
es could be replaced by process local mutexes without breaking anything?
Is my assumption that this could potentially boost performance (if only by a minimal factor) correct?
Is there any conceivable reason for using interprocess synchronisation within a single (optionally multi-threaded) process?