July 19, 2012 Object Pool | ||||
---|---|---|---|---|
| ||||
Attachments:
| 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. |
Copyright © 1999-2021 by the D Language Foundation