[zeromq-dev] 0MQ, Boost.Asio, and Windows
Steven McCoy
steven.mccoy at miru.hk
Mon Aug 12 02:44:12 CEST 2013
On 10 August 2013 16:40, Damien Kick <dkick1 at mac.com> wrote:
> Well, the reason that I want to integrate with Boost.Asio is more for
> getting its
> implementation of the reactor pattern "for free", including timers, etc.
>
>
I don't know if it is the best pattern, but I appreciate the split made by
the Chromium developers: have separate main loops for different purposes:
networking, UI, etc. Thus you could have a Boost.Asio main loop with timer
events and simply send a timer message to the 0mq main loop.
Its also relatively easy to replicate Windows' thread pool timers with
C++11 Chrono to perform such a function and thus very portable.
--
Steve-o
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130811/ac5a1609/attachment.htm>
More information about the zeromq-dev
mailing list