On 02/07/2012 10:56 AM, john skaller wrote:
>
> On 07/02/2012, at 12:16 PM, Martin Sustrik wrote:
>> 5. That being said, using single socket from multiple threads is not a
>> good design decision. It breaks the model of threads viewed as
>> stand-alone state machines communicating with the outside world via
>> exclusively owned sockets.
>
> Of course it does, because that's NOT the model of threads,
> the model you describe is processes.

Fair enough. However, I am not sure whether there's a practical 
difference between the two.

Do we have an use case where the current model of non-thread-safe 
sockets + ability to migrate sockets between threads is not sufficient?

Martin
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to