Boost logo

Boost Users :

Subject: Re: [Boost-users] Thread Pool example
From: Paolo Bolzoni (paolo.bolzoni.brown_at_[hidden])
Date: 2017-04-10 09:59:15


On Sun, Apr 9, 2017 at 11:19 PM, Gonzalo Garramuño via Boost-users
<boost-users_at_[hidden]> wrote:
> Hi,
>
> I currently use boost (1.60) for my program and would like to have a part of
> it multithreaded (the creation of icons in a file requester). I would like
> to create those with a thread pool. I am currently using gcc 4.6.3, which
> is not yet c++11 compatible.
>
> I found no documentation on the usage of boost/thread/thread_pool.hpp so I
> turn to the list. Does anyone have an example of a thread pool with boost
> threads.
>
> Thanks in advance,

I think this old recipe is what you are looking for.
http://think-async.com/Asio/Recipes?skin=clean.nat,asio,pattern#A_thread_pool_for_executing_arbi


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net