using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Threading
{
/// Represents a thread synchronization event.
// Token: 0x0200031A RID: 794
[Token(Token = "0x200031A")]
[ComVisible(true)]
public class EventWaitHandle : WaitHandle
{
/// Initializes a new instance of the class, specifying whether the wait handle is initially signaled, and whether it resets automatically or manually.
///
/// to set the initial state to signaled; to set it to nonsignaled.
/// One of the values that determines whether the event resets automatically or manually.
// Token: 0x06001D16 RID: 7446 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001D16")]
[Address(RVA = "0x2920350", Offset = "0x291F150", VA = "0x182920350")]
public EventWaitHandle(bool initialState, EventResetMode mode)
{
}
/// Initializes a new instance of the class, specifying whether the wait handle is initially signaled if created as a result of this call, whether it resets automatically or manually, and the name of a system synchronization event.
///
/// to set the initial state to signaled if the named event is created as a result of this call; to set it to nonsignaled.
/// One of the values that determines whether the event resets automatically or manually.
/// The name of a system-wide synchronization event.
/// A Win32 error occurred.
/// The named event exists and has access control security, but the user does not have .
/// The named event cannot be created, perhaps because a wait handle of a different type has the same name.
///
/// is longer than 260 characters.
// Token: 0x06001D17 RID: 7447 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001D17")]
[Address(RVA = "0x2920370", Offset = "0x291F170", VA = "0x182920370")]
public EventWaitHandle(bool initialState, EventResetMode mode, string name)
{
}
/// Sets the state of the event to nonsignaled, causing threads to block.
///
/// if the operation succeeds; otherwise, .
/// The method was previously called on this .
// Token: 0x06001D18 RID: 7448 RVA: 0x00012D08 File Offset: 0x00010F08
[Token(Token = "0x6001D18")]
[Address(RVA = "0x2920270", Offset = "0x291F070", VA = "0x182920270")]
public bool Reset()
{
return default(bool);
}
/// Sets the state of the event to signaled, allowing one or more waiting threads to proceed.
///
/// if the operation succeeds; otherwise, .
/// The method was previously called on this .
// Token: 0x06001D19 RID: 7449 RVA: 0x00012D20 File Offset: 0x00010F20
[Token(Token = "0x6001D19")]
[Address(RVA = "0x29202E0", Offset = "0x291F0E0", VA = "0x1829202E0")]
public bool Set()
{
return default(bool);
}
}
}