[zeromq-dev] use 0mq only in one side?

Steven McCoy steven.mccoy at miru.hk
Fri Sep 23 14:40:14 CEST 2011


On 22 September 2011 21:45, alias <chenbk at foxmail.com> wrote:

> hi, all
>     by the way, when I read source, I find that pipe_t::flush() may has
> bug: && --> ||
>
> void zmq::pipe_t::flush ()
> {
>     //  If terminate() was already called do nothing.
>     if (state == terminated && state == double_terminated) *//! *should *if (state==terminated || state==double_terminated)* ???
>         return;
>
>
This isn't in the latest 2.1, 3.0, or 4.0, so i guess someone already
spotted it.

-- 
Steve-o
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20110923/185fed83/attachment.htm>


More information about the zeromq-dev mailing list