21 lines
849 B
C#
21 lines
849 B
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace System.Threading
|
|
{
|
|
/// <summary>Notifies a waiting thread that an event has occurred. This class cannot be inherited.</summary>
|
|
/// <filterpriority>2</filterpriority>
|
|
// Token: 0x0200060A RID: 1546
|
|
[ComVisible(true)]
|
|
public sealed class AutoResetEvent : EventWaitHandle
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Threading.AutoResetEvent" /> class with a Boolean value indicating whether to set the initial state to signaled.</summary>
|
|
/// <param name="initialState">true to set the initial state to signaled; false to set the initial state to non-signaled. </param>
|
|
// Token: 0x0600388E RID: 14478 RVA: 0x000C3D70 File Offset: 0x000C1F70
|
|
public AutoResetEvent(bool initialState)
|
|
: base(initialState, EventResetMode.AutoReset)
|
|
{
|
|
}
|
|
}
|
|
}
|