MemoryPoolRequestCollection Event
Requests that classes using this
MemoryPool release any unused buffers.
Failing to do so may result in an
OutOfMemoryException to occur.
Namespace: SnapDB.IO.UnmanagedAssembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
function add_RequestCollection(value);
function remove_RequestCollection(value);
Value
EventHandlerCollectionEventArgs
IMPORTANT NOTICE: Do not call
AllocatePage(Int32, IntPtr) via the thread
that raises this event. Also, be careful about entering a lock via this thread
because a potential deadlock might occur.
Also, Do not remove a handler from within a lock context as the remove
blocks until all events have been called. A potential for another deadlock.