Boost logo

Boost :

From: scleary_at_[hidden]
Date: 2000-12-04 10:24:07


> [Jeff Garland]
> 3) Threading. I think the pool interface should be parameterized by
locking
> strategy. If I know I am in a single threaded environment (or using
thread
> specific storage) I want to maximize speed and hence I want to compile out
> all threading code. Since I might not have the same threading decisions
for
> all objects in an application, what I really want is to parameterize the
> threading decisions on a pool by pool basis instead of "the whole
library".

Good point. I will add an optional Lock parameter to the pool allocator
interface (this is the only pool interface that provides multi-threaded
access).

        -Steve


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