[zeromq-dev] Dropping connection end points dynamically

Pieter Hintjens ph at imatix.com
Thu Apr 19 18:45:38 CEST 2012


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



More information about the zeromq-dev mailing list