[zeromq-dev] level-triggered FD

Pieter Hintjens ph at imatix.com
Fri Jan 22 13:51:37 CET 2016


Yes, the edge triggered FD in libzmq has been a constant source of
annoyance. Maybe someone on this list knows how to fix it.

On Fri, Jan 22, 2016 at 1:40 PM, MinRK <benjaminrk at gmail.com> wrote:
> Hi all,
>
> I've implemented yet another eventloop integration in pyzmq (asyncio, this
> time), and this is only nontrivial because of the edge-triggered read-only
> zmq.FD. Integrating into existing eventloops would be much easier if we had
> a more traditional level-triggered FD to work with.
>
> Is there a technical reason why we can't add a zmq.LEVEL_FD that would
> behave in a more conventional manner:
>
> - level-triggered
> - signal write when socket is writable
> - signal read when socket is readable
>
> I would work on this myself, but unfortunately I don't think I have the
> relevant expertise.
>
> -MinRK
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>



More information about the zeromq-dev mailing list