[zeromq-dev] ZeroMQ with C++ and Fibers

Steven McCoy steven.mccoy at miru.hk
Fri May 10 19:34:38 CEST 2013

On 10 May 2013 10:39, Ian Upright <ian-public at upright.net> wrote:

> Are you sure about that?  Wouldn't it work something like this:
> Suspend the Fiber, perhaps push the request to another IPC thread group
> that
> is farming out the requests.  Then when a reply comes back in, to send it
> back over IPC, and then that part would resume that Fiber which was
> associated with the request/reply.

That would require a special version of zmq_poll that effectively
implements a fiber scheduler: wake up the correct fiber based on pending
socket data.

Both are technically correct, native fiber support would obviously be a
preferable solution.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130510/2e37967d/attachment.htm>

More information about the zeromq-dev mailing list