Boost logo

Boost :

From: William E. Kempf (wekempf_at_[hidden])
Date: 2002-11-11 11:38:41

Eric Woodruff said:
> Is there any interest in a threaded function queue? I ran into a problem
> where I needed to asynchronously run methods but I didn't want to (or
> actually couldn't easlily) maintain threads to run them in. So I created
> a function queue where I could control the number of threads that were
> used to execute the (Boost.Function) functions. There is a lot of room
> for customization like specifying policies for controlling how/if the
> processing thread collection can grow.

Unless I'm not understanding precisely what you mean, it sounds like your
talking about a "thread_pool", as implemented in the thread_development
branch. Could you compare contrast what you have in mind with what's
available there?

William E. Kempf

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