Thanks for the info.

-- Alex

On 26 March 2012 20:11, Lourens Naudé <lour...@methodmissing.com> wrote:
> Hi Alex,
>
> That'll be fine - the fd events are edge-triggered and would work with any
> reactor implementation. Just remember to read until completion as the
> notification can be for more than one message (zmq protocol is framed) as
> well. Failure to do so will result in further notifications not being
> triggered.
>
> - Lourens
>
>
> On Monday, March 26, 2012, Pieter Hintjens <piet...@gmail.com> wrote:
>> Yes, it should work fine.
>>
>> On Mar 26, 2012 11:44 AM, "Alex Zeffertt" <azeffe...@cambridgesys.com>
>> wrote:
>>>
>>> Hi list,
>>>
>>> I'm considering using czmq in my single threaded application.
>>> However, the application is already using an event driven framework in
>>> which a file descriptor has to be registered along with a callback
>>> that is invoked when it becomes readable.
>>>
>>> My question is: can I use the file descriptor returned by
>>> zsockopt_fd() in this way, or would this break things  when I issue
>>> zframe_recv_nowait()?
>>>
>>> Thanks in advance,
>>>
>>> Alex
>>> _______________________________________________
>>> zeromq-dev mailing list
>>> zeromq-dev@lists.zeromq.org
>>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>>>
>>
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev@lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
_______________________________________________
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to