ManualResetEventSlim

E704381

ManualResetEventSlim is a lightweight synchronization primitive in .NET used to efficiently signal and wait for events across threads, offering better performance than the classic ManualResetEvent in many scenarios.

All labels observed (3)

How this entity was disambiguated

Statements (46)

Predicate Object
instanceOf class ⓘ
managed synchronization construct ⓘ
belongsToLibrary System.Private.CoreLib (in .NET Core / .NET 5+) ⓘ
mscorlib (older .NET Framework) ⓘ
linked to: mscorlib.dll
canFallbackTo ManualResetEvent ⓘ
comparedTo ManualResetEvent ⓘ
definedIn System.Threading namespace ⓘ
linked to: System.Threading
hasBaseType System.Object ⓘ
hasBetterPerformanceThan ManualResetEvent in many scenarios ⓘ
linked to: ManualResetEvent
hasConstructor ManualResetEventSlim() ⓘ
ManualResetEventSlim(bool initialState) ⓘ
ManualResetEventSlim(bool initialState, int spinCount) ⓘ
hasMethod Dispose() ⓘ
Dispose(bool disposing) ⓘ
Reset() ⓘ
Set() ⓘ
Wait() ⓘ
Wait(CancellationToken) ⓘ
Wait(TimeSpan timeout) ⓘ
Wait(TimeSpan timeout, CancellationToken cancellationToken) ⓘ
Wait(int millisecondsTimeout) ⓘ
Wait(int millisecondsTimeout, CancellationToken cancellationToken) ⓘ
hasProperty CancellationToken ⓘ
IsDisposed ⓘ
IsSet ⓘ
Lock ⓘ
SpinCount ⓘ
WaitHandle ⓘ
implements IDisposable ⓘ
linked to: System.IDisposable
introducedIn .NET Framework 4.0 ⓘ
linked to: .NET Framework
isLightweight true ⓘ
isManualReset true ⓘ
isResetEventType true ⓘ
optimizedFor low contention scenarios ⓘ
short wait times ⓘ
partOf .NET 5+ ⓘ
linked to: .NET (5 and later)

.NET Core ⓘ
.NET Framework ⓘ
supports WaitHandle conversion ⓘ
manual reset semantics ⓘ
multiple waiters ⓘ
threadSafe true ⓘ
usedFor coordinating task completion ⓘ
implementing higher-level synchronization patterns ⓘ
signaling between threads ⓘ
uses spinning before kernel wait ⓘ

How these facts were elicited

Referenced by (4)

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

System.Threading → containsType → ManualResetEventSlim ⓘ
ManualResetEvent → relatedType → ManualResetEventSlim ⓘ
ManualResetEventSlim → hasConstructor → ManualResetEventSlim() ⓘ
linked to: ManualResetEventSlim
ManualResetEventSlim → hasConstructor → ManualResetEventSlim(bool initialState) ⓘ
linked to: ManualResetEventSlim