Thanks for the info.
-- Alex
On 26 March 2012 20:11, Lourens Naudé 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 wrote:
>> Yes, it should work fine.
>>
>> On Mar 26, 2012 11:44 AM, "Alex Zeffertt"
>> 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