View mode: basic / threaded / horizontal-split · Log in · Help
July 19, 2012
Object Pool
Does something to manage object pooling exists (thread safe)?

Something like:

auto pool = new Pool!MyObj;
auto obj = pool.get;

...
...
...

pool.release(obj); // or maybe obj.release;

In a thread-safe way.
Top | Discussion index | About this forum | D home