[zeromq-dev] Dropping connection end points dynamically

Chuck Remes lists at chuckremes.com
Thu Apr 19 19:13:23 CEST 2012


On Apr 19, 2012, at 11:45 AM, Pieter Hintjens wrote:

> On Thu, Apr 19, 2012 at 11:38 AM, Chuck Remes <lists at chuckremes.com> wrote:
> 
>> He was just reiterating that you should use a mutex. A mutex will perform a
>> full memory barrier for you. I don't know why this community is so caught up
>> on using the term "memory barrier" when *in practice* they mean to say
>> "mutex." Just use a mutex properly and all will be well.
> 
> I think we don't say "use mutexes" because people will then start
> making "thread safe sockets" and end up with junky architectures.
> Saying "full memory barrier" is scary.
> 
> -Pieter

That is genuinely funny! :)

cr





More information about the zeromq-dev mailing list