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.

All labels observed (1)

Label Occurrences
PreAllocatedOverlapped canonical 1

How this entity was disambiguated

Statements (39)

Predicate Object
instanceOf .NET class
threading helper class
assembly System.Threading.Overlapped.dll (in modern .NET)
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
linked to: System.Threading
designPattern object pooling
documentation Microsoft .NET API reference
hasConstructor PreAllocatedOverlapped(IOCompletionCallback, object, object)
hasMethod Dispose()
Dispose(Boolean)
Finalize()
ToString()
introducedIn .NET Framework 4.5
linked to: .NET Framework
language C#
CLS-compliant .NET languages
lifecycle mustBeDisposedByCaller
partOf .NET Base Class Library
platform .NET 5+
linked to: .NET (5 and later)

.NET Core
.NET Framework
relatedTo NativeOverlapped
Overlapped
ThreadPool
ThreadPoolBoundHandle
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)

How these facts were elicited

Referenced by (1)

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

System.Threading containsType PreAllocatedOverlapped