mahonya mahonya - 10 months ago 71
C++ Question

Is there an open source thread safe C++ object pool implementation?

I need to create a pool of socket connections which will be served to multiple worker threads. Is there a thread safe object pool implementation with functionality similar to Apache Commons'

GenericObjectPool
?

Answer Source

Check out boost.flyweight.