[zeromq-dev] Thread access when using the Java bindings

Jon Rowland jon.rowland at isam.com
Wed Nov 3 13:34:32 CET 2010


Got it, thanks.

-----Original Message-----
From: zeromq-dev-bounces at lists.zeromq.org [mailto:zeromq-dev-bounces at lists.zeromq.org] On Behalf Of Pieter Hintjens
Sent: 03 November 2010 12:33
To: ZeroMQ development list
Subject: Re: [zeromq-dev] Thread access when using the Java bindings

On Wed, Nov 3, 2010 at 1:30 PM, Stuart Sierra
<the.stuart.sierra at gmail.com> wrote:
> On Wed, Nov 3, 2010 at 8:28 AM, Jon Rowland <jon.rowland at isam.com> wrote:
>> Thanks, good to know. Are you implying that things are different in 2.1.0?
>
> My understanding is that, in 2.1.0, sockets can be safely shared across threads.

Indeed.  You cannot access a socket at the same time from multiple
threads but you can for instance create it in one thread, and then
pass it to a second thread for use.

-Pieter
_______________________________________________
zeromq-dev mailing list
zeromq-dev at lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev



More information about the zeromq-dev mailing list