class · System.Threading

AutoResetEvent

public class System.Threading.AutoResetEvent : System.Threading.ManualResetEvent

An event that lets one waiter through each time it is set (and resets itself).

Kind
class
Namespace
System.Threading
Assembly
System.Core
Access
public, final
Source file
Threading.ant

Inheritance

Base classes
Any ManualResetEvent AutoResetEvent

Constructors

constructor AutoResetEvent(initialState: bool)
#

Methods

method WaitOne() -> void
#

override

method WaitOne(milliseconds: i32) -> bool
#

override

Inherited members (12)

  • mutex field from ManualResetEvent
  • changed field from ManualResetEvent
  • set field from ManualResetEvent
  • Set method from ManualResetEvent
  • Reset method from ManualResetEvent
  • Dispose method from ManualResetEvent
  • IsSet property from ManualResetEvent
  • GetType method from Any
  • Undescribed method from Any
  • ToString method from Any
  • Hash method from Any
  • destroy method from Any

Source

AutoResetEvent as Larva HIR, decompiled from its Larva HIR.

System.Threading.AutoResetEvent.hir
// An event that lets one waiter through each time it is set (and resets itself).
public class System.Threading.AutoResetEvent : System.Threading.ManualResetEvent
{
    constructor AutoResetEvent(initialState: bool)
    method WaitOne() -> void
    method WaitOne(milliseconds: i32) -> bool
}
Esc