POSIX Queues with message type facility of System V queues
Hello Everyone,
We have been using System V message queues for quite some time. Each of our process has two kinds of queues. (1) For receiving transaction messages, which is different for each process and (2) For receiving control messages, which is global for all processes. Each process get its relevant message from (2) based on the process id of that process (using the process id in the message type of msgbuf struct). Now we are looking to use POSIX queues. I have gone through the documentation but could not find a way to resolve (2). Can we do selective receive on POSIX queue, based on some message type? Thanks Ehsan |
Quote:
|
When it comes to the message types with process ids... Isn't it a better idea to use more separate queues if you have such application design?
|
All times are GMT -5. The time now is 09:35 PM. |