GUI-Novice
GUI-Novice

Reputation: 361

Boost Message Queue with Posix Message Queue

I have IPC mechanism written using boost interprocess message queue in Process A. This basically receives and sends data with Process A. The reason for using boost message queue is for considering windows and linux compatibility.

But Process B is a linux only version which uses posix message queue implementation. Is there any compatibility issue with this scenario ? which is Process A open the boost message queue and waiting for Process B to send data using posix message queue if they using the same queue name ?

Upvotes: 1

Views: 427

Answers (1)

sehe
sehe

Reputation: 393694

Boost Interprocesses message queue (message_queue) does NOT use Posix message queues, at all. There is no compatibility with other programs that do not use Boost Interprocess.

See here for analysis: boost::interprocess message queue timed_receive() internal procedure

Upvotes: 1

Related Questions