AutoResetEvent

E697518

AutoResetEvent is a synchronization primitive in .NET used to manage signaling between threads by automatically resetting its state after releasing a single waiting thread.

Try in SPARQL Jump to: Statements Referenced by

Statements (49)

Predicate Object
instanceOf WaitHandle subclass
class
assembly System.Private.CoreLib (in .NET Core/.NET 5+) NERFINISHED
mscorlib (in .NET Framework) NERFINISHED
category concurrency control
threading API
comparedWith ManualResetEvent NERFINISHED
constructor AutoResetEvent(bool initialState)
defaultState non-signaled unless specified in constructor
definedIn System.Threading namespace NERFINISHED
differenceFromManualResetEvent AutoResetEvent automatically resets after releasing a thread
ManualResetEvent remains signaled until Reset is called
disposalPattern implements IDisposable via WaitHandle
documentation Microsoft Docs: AutoResetEvent Class NERFINISHED
inheritsFrom EventWaitHandle NERFINISHED
WaitHandle NERFINISHED
introducedFor thread synchronization
languageSupport C# NERFINISHED
F# NERFINISHED
VB.NET NERFINISHED
lifecycle must be disposed to free underlying OS handle
method Reset()
Set()
WaitOne()
WaitOne(TimeSpan timeout)
WaitOne(int millisecondsTimeout)
methodInheritedFrom WaitHandle.WaitAll(WaitHandle[]) NERFINISHED
WaitHandle.WaitAny(WaitHandle[])
partOf .NET (5+) runtime libraries
.NET Core NERFINISHED
.NET Framework NERFINISHED
platform Linux
Windows
macOS
relatedTo ManualResetEvent NERFINISHED
Mutex
SemaphoreSlim
releases one waiting thread per Set call
requires System.Threading namespace import in C#
resetBehavior automatically resets to non-signaled after releasing a single waiting thread
signalType auto-reset event
stateType signaled or non-signaled
supports multiple waiting threads
threadSafety thread-safe
underlyingConcept kernel event object on most platforms
usagePattern one-to-one signaling
producer-consumer coordination
usedFor blocking and releasing threads
signaling between threads

Referenced by (1)

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

System.Threading containsType AutoResetEvent