Boost logo

Boost :

Subject: Re: [boost] [threadpool] relation with TR2 proposal
From: vicente.botet (vicente.botet_at_[hidden])
Date: 2008-09-13 04:29:25

----- Original Message -----
From: <joaquin_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Friday, September 12, 2008 1:24 PM
Subject: Re: [boost] [threadpool] relation with TR2 proposal

> k-oli_at_[hidden] escribió:
>> Am Freitag, 12. September 2008 10:52:50 schrieb joaquin_at_[hidden]:
>>> Hello,
>>> I learnt yesterday that there is a TR2 proposal for a thread_pool,
>>> sponsored by
>>> our Boost colleague Anthony Williams:
>>> What is the relationship with this proposal of the threadpool library
>>> that is being
>>> discussed these days here at the Boost list?
>>> Thank you,
>>> Joaquín M López Muñoz
>>> Telefónica, Investigación y Desarrollo
>>> _______________________________________________
>>> Unsubscribe & other changes:
>> The threadpool lib in the vault has no relation to the TR2 proposal.
>> It seams that Anthonys lib is simple - no support for task interruption,
>> lazy
>> task evaluation or task chanining, channel and queue types etc.
> It'd be an odd thing if we had a TR2 threadpool lib and a different lib in
> Boost (assuming
> both proposals are succesful). Shoudln't there be some some syncing
> between the
> respective authors?


BTW, Anthony, how packaged_task are related to the class thread_pool in
n2276. I don't see any connection in the interface.

Shouldn't submit_task return a packaged_task<T>
    template<typename F>
    packaged_task<typename result_of<F()>::type> submit_task(F const& f);

Shouldn't be also the case for the functions launch_in_pool and
Olivier what about adding launch_in_pool to the threadpool library?

Olivier, what will be the inpact on your library if it uses Anthony Futures
library instead? What will be missing on the Anthony Futures library?


Boost list run by bdawes at, gregod at, cpdaniel at, john at