[nanomsg] Re: shmem for nn_allocmsg

  • From: "Jason E. Aten" <j.e.aten@xxxxxxxxx>
  • To: Martin Sustrik <sustrik@xxxxxxxxxx>
  • Date: Sat, 28 Sep 2013 18:40:13 -0700

cool. Would it be difficult or trivial to add the shmem; if not too difficult, 
how would you go about it?  (or already in progress?)

On Sep 28, 2013, at 6:14 PM, Martin Sustrik <sustrik@xxxxxxxxxx> wrote:

> On 29/09/13 03:05, Jason E. Aten wrote:
>> If I want nn_allocmsg and nn_sendmsg to use shared memory, how would I
>> activate that?
> 
> The idea is to use it like this:
> 
> void *p = nn_allocmsg (1000000, NN_IPC);
> 
> However, the feature is not implemented yet. At the moment it will just used 
> standard malloc() in this case instead of shmem.
> 
> Martin

Other related posts: