|
Boost Users : |
Subject: Re: [Boost-users] Customize Message Queue
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2011-01-16 18:39:27
AMDG
On 1/16/2011 1:40 PM, derleader mail wrote:
> I need advice how to customize Message Queue in
> boost/interprocess/ipc/message_queue.hpp>
>
> I need to insert additional argument in
> mq.send(&number, sizeof(i), 0, );
>
> and here
>
> mq.receive(&number, sizeof(number), recvd_size, priority, );
>
> Its something like 2 messages in one queue.
> How I can do this?
>
Pack everything you want to send in a struct.
In Christ,
Steven Watanabe
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net