I am trying to learn about C ++ 11 std::condition_variable. I read articles in cppreference.com and cplusplus.com , and also C ++ 0x has no semaphores? How to synchronize streams? .
std::condition_variable
To my question, which, as I think, the three marked articles did not answer, it is possible: "semaphores" that are created with a combination of std::mutexand std::condition_variable(see answers in C ++ 0x do not have semaphores? How to synchronize threads? ) Is used for synchronization between processes, how can posix semaphores be? It’s not clear to me that this functionality can be achieved because I don’t see “extensible” information, such as the name used to create these objects.
std::mutex
No, they are designed to synchronize threads within a single process, not processes.
. interprocess - (, temp) (, ) . boost::interprocess ( - , " ", ).
boost::interprocess
, boost:: interprocess. . .
IPC ( ) ++ - io.
++ IPC .
Source: https://habr.com/ru/post/1659366/More articles:The protocol can only be used as a general restriction - genericsAkka Streams: how can I simulate power / speed limitation in a system of 2 connected streams? - scalaDraw Shadow Only * Around * UIView that contains transparency - iosJava HashMap Collision Resolution - javaCan std :: condition_variables be used to count semaphores? - c ++Angular -CLI - how to add a prefix to a script tag in index.html - buildMicrosoft Database End Callback - node.jsAngular 2 CLI - Deployment - angularДобавить легенду для обозначения фигур - rSpark local mode - all tasks use only one processor core - javaAll Articles