[nanomsg] Re: shmem for nn_allocmsg

  • From: Martin Sustrik <sustrik@xxxxxxxxxx>
  • To: nanomsg@xxxxxxxxxxxxx
  • Date: Sun, 29 Sep 2013 03:14:24 +0200

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: