mahonya mahonya - 14 days ago 6
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

Check out boost.flyweight.