any suggestions for a C# object pooling framework?
requirements are multi-thread support and a pool size limit, when a thread requests an object but none is available, it’s blocked until one of the other objects is freed.
any suggestions for a C# object pooling framework? requirements are multi-thread support and a
Share
I don’t think there’s a framework that will do this for you.
You can implement one yourself with a trivial amount of code though. (1 class, ~20 lines of code)
Have a look at the MSDN article here