Boost logo

Boost :

Subject: Re: [boost] [object_pool]too slow?
From: Qiu Yuzhou (qbowater_at_[hidden])
Date: 2009-03-11 23:42:57


Hi,

Lock is slow. The pool lib is for performance.

2009/3/12 <jon_zhou_at_[hidden]>:
> hi
>
> seems only singleton_pool is thread-safe? but it just only alloc memory and does not call ctor...
>
> why object_pool is not designed as thread-safe?
Just like the stl container vector,list... are not thread-safe. The
user should lock his mutex by himself if it's in need.
>
>


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