[zeromq-dev] [PATCH] Scalability improvements for large amounts of connections
Martin Sustrik
sustrik at 250bpm.com
Mon Oct 11 22:51:42 CEST 2010
On 10/11/2010 10:34 PM, Martin Lucina wrote:
> If we provide an explicit interface to migrate sockets then we can say
> "just use that". Users who understand memory barriers can still do that if
> they want to.
>
> Martin, what do you think?
It's useless IMO. If you _migrate_ the socket between threads you are
presumably running in such a context that the barrier is executed by the
environment you are running in.
If you are using socket from multiple threads you are abusing the
library and you fully deserve your application crashing. Muahaha!
Martin
More information about the zeromq-dev
mailing list