Stack pool Slim - future improvement ideas...
reference count to catch double release
finalizable object support with internal release to totally avoid double release
This is NOT thread safe, locking/lock free must be used around calls to this pool.
Namespace: RCLibraryAssembly: RCLibrary (in RCLibrary.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public class StackPoolSlim<T> : IItemPool<T> where T : new() |
Visual Basic |
---|
Public Class StackPoolSlim(Of T As New) _ Implements IItemPool(Of T) |
Visual C++ |
---|
generic<typename T> where T : gcnew() public ref class StackPoolSlim : IItemPool<T> |
Type Parameters
- T
[Missing <typeparam name="T"/> documentation for "T:RCLibrary.StackPoolSlim`1"]