[nanomsg] Re: Inproc latency and programming challenge!

  • From: Paul Colomiets <paul@xxxxxxxxxxxxxx>
  • To: Martin Sustrik <sustrik@xxxxxxxxxx>
  • Date: Wed, 30 Jan 2013 12:31:06 +0200

Hi,

On Wed, Jan 30, 2013 at 10:36 AM, Martin Sustrik <sustrik@xxxxxxxxxx> wrote:
> On 30/01/13 09:11, David Nyström wrote:
>
>> Have you considered supporting a lockless implementation of message
>> queues for inproc/ipc ? (libatomic_ops).
>
>
> Yes. I've implemented that for ZeroMQ, but it's not yet implemented in
> nanomsg. Getting portable MIT-licensed code for atomic CAS would be the
> first thing to do, I guess.
>

It doesn't matter for this test. There would be need to wake up
another thread anyway. And the need to lock both sockets anyway to do
some connection management (choose the pipe at least).

--
Paul

Other related posts: