Hello!
07.01.2018, 02:52, "Chris Double" :
> On Sun, Jan 7, 2018 at 10:20 AM, Doug Coleman wrote:
>> You are right. You would have to use the zeromq nonblocking api, if it
>> exists.
>
> There's zmq_poll which you could spawn in a factor thread and run with
> a low timeout to check if any zmq e
On Sun, Jan 7, 2018 at 10:20 AM, Doug Coleman wrote:
> You are right. You would have to use the zeromq nonblocking api, if it exists.
There's zmq_poll which you could spawn in a factor thread and run with
a low timeout to check if any zmq events are occurring:
http://api.zeromq.org/2-1:zmq-poll
You are right. You would have to use the zeromq nonblocking api, if it exists.
Sent from my iPhone
> On Jan 6, 2018, at 15:08, Alexander Ilin wrote:
>
> Hello!
>
> Is it possible to use the `zeromq` vocab with Factor's green threads, i.e.
> the way our asynchronous IO works?
>
> It seems t
Hello!
Is it possible to use the `zeromq` vocab with Factor's green threads, i.e.
the way our asynchronous IO works?
It seems that if I call `zmq_recvmsg` and there is nothing in the pipe, the
entire Factor process would block, not only the green thread that made the
call. Am I right?
---