Boost logo

Boost :

Subject: Re: [boost] [threadpool] mixture of recursive invokation and fibers?
From: Oliver Kowalke (k-oli_at_[hidden])
Date: 2008-11-05 06:28:36


> Hi Olivier,
>
> I would prefer to go on the direction of a single thread_pool which can be
> configured by user. Whitch will be the default configuration needs to be
> found.
>
> The user can enable/disable the fork/join using something like
> {
> enable_fork_join fj_enabler;
> // here get use recursive sub-task invokation
> {
> disable_fork_join fj_disabler;
> // here get blocks
> }
> }
>
> The user can enable/disable the fibers using something like
> {
> enable_fork_join fj_enabler;
> // here get use recursive sub-task invokation
> {
> enable_fibers fiber_enabler;
> // here get fibers switch context
> }
> // here get use recursive sub-task invokation
> }

Invoking this functionality should influence the whole threadpool or only the current worker-thread?

Oliver

-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk