c++ - Message passing between two programs -



c++ - Message passing between two programs -

currently have 2 standalone c++ programs, master , slave. master writes info shared memory, using boost::interprocess, , launches slave, able read memory.

what have slave running, , master send message slave when memory has been written , ready read from.

the way can think accomplish same thing slave check shared memory presence of object, , when detected read , delete it. however, doesn't seem optimal.

is there nicer way of achieving same thing?

background: continuation of previous question here...

you can utilize posix message queues, or improve yet boost message queues.

c++ shared-memory message-passing boost-interprocess

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -