26 Aug
2015
26 Aug
'15
2:41 p.m.
Mikael Olenfalk wrote:
I am currently thinking about how to move our project at work from a set of specific threads (1 thread per module e.g.) and our own network library abstraction to Boost.Asio and Boost.Thread's scheduler/executors.
Before I read about schedulers/executors I considered just using asio::io_service (with a pool of threads calling .run()) for quick-shot background offloading, but after looking at scheduler/executor I would prefer using it for background work.
you might want to review the following: https://github.com/chriskohlhoff/executors