
Hi,
I am trying to improve the performance of a std::list instance in a
multi-thread application using boost::pool, but the syncronization
overhead is killing me.
The point is that all access to my std::list are serialized, so I would
like my pool to not use mutexes when retrieving memory in the pool,
which is what I suppose is happening (got evidence through valgrind).
From the template parameters of boost pool, I think this is possible,
but I couldn't figure out how to do this. Any tips here?
pseudo code:
struct X;
std::list