I use a single POSIX message queue in my application, which is accessed by several readers. Should I use mutexes in this scenario?
This is similar to Is msgsnd () a thread and / or a process safe? . The short answer is that it is already thread safe, so there is no need to use mutexes.
Source: https://habr.com/ru/post/1303081/More articles:What version of Windows 7 for .NET developers - windowsBest way to add a string constructor to a Java class? - javaHow to create a common common .NET framework for my company? - .netScheme and let syntax - schemeHow to stop SQL Server Management Studio by replacing "SELECT *" with a list of columns? - sql-serverSVN: How to import a folder name to store folders? - svnWhere to find version information in the source code for the Android platform - androidAndroid: How to catch Intent Extras if activity is already running? - javaINSTALL_FAILED_MISSING_SHARED_LIBRARY - android emulator proplem - androidEmbedding ASP.Net code in external javascript files - javascriptAll Articles