PreAllocatedOverlapped

E697533

PreAllocatedOverlapped is a .NET threading helper class that allows you to pre-allocate and reuse native overlapped I/O structures to reduce garbage collection overhead in asynchronous operations.

Try in SPARQL Jump to: Statements Referenced by

Statements (39)

Predicate Object
instanceOf .NET class
threading helper class
assembly System.Threading.Overlapped.dll (in modern .NET) NERFINISHED
mscorlib.dll (in older .NET Framework versions)
benefit improves performance of high-frequency async I/O
reduces GC pressure in async I/O scenarios
reduces allocation of NativeOverlapped structures
callbackType IOCompletionCallback
category asynchronous I/O
thread pool I/O
definedIn System.Threading namespace NERFINISHED
designPattern object pooling
documentation Microsoft .NET API reference NERFINISHED
hasConstructor PreAllocatedOverlapped(IOCompletionCallback, object, object)
hasMethod Dispose()
Dispose(Boolean)
Finalize()
ToString()
introducedIn .NET Framework 4.5 NERFINISHED
language C# NERFINISHED
CLS-compliant .NET languages
lifecycle mustBeDisposedByCaller
partOf .NET Base Class Library NERFINISHED
platform .NET 5+ NERFINISHED
.NET Core NERFINISHED
.NET Framework NERFINISHED
relatedTo NativeOverlapped NERFINISHED
Overlapped
ThreadPool NERFINISHED
ThreadPoolBoundHandle NERFINISHED
requires pinned callback delegate lifetime
supports I/O completion callbacks
state object for callback
user-defined data for callback
threadSafety canBeUsedFromMultipleThreadsWithCare
usedFor pre-allocating native overlapped I/O structures
reducing garbage collection overhead in asynchronous operations
reusing native overlapped I/O structures
usedWith ThreadPoolBoundHandle.AllocateNativeOverlapped(PreAllocatedOverlapped) NERFINISHED

Referenced by (1)

Full triples — surface form annotated when it differs from this entity's canonical label.

System.Threading containsType PreAllocatedOverlapped