This commit is contained in:
niko
2026-04-12 16:51:38 +02:00
parent 1b6f6d81d0
commit c12fbe3fc6
17828 changed files with 2994770 additions and 0 deletions
@@ -0,0 +1,65 @@
using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Threading
{
/// <summary>Represents a thread synchronization event.</summary>
// Token: 0x02000334 RID: 820
[Token(Token = "0x2000334")]
[ComVisible(true)]
public class EventWaitHandle : WaitHandle
{
/// <summary>Initializes a new instance of the <see cref="T:System.Threading.EventWaitHandle" /> class, specifying whether the wait handle is initially signaled, and whether it resets automatically or manually.</summary>
/// <param name="initialState">
/// <see langword="true" /> to set the initial state to signaled; <see langword="false" /> to set it to nonsignaled.</param>
/// <param name="mode">One of the <see cref="T:System.Threading.EventResetMode" /> values that determines whether the event resets automatically or manually.</param>
// Token: 0x06001F17 RID: 7959 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001F17")]
[Address(RVA = "0xF2B200", Offset = "0xF2A200", VA = "0x180F2B200")]
public EventWaitHandle(bool initialState, EventResetMode mode)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Threading.EventWaitHandle" /> 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.</summary>
/// <param name="initialState">
/// <see langword="true" /> to set the initial state to signaled if the named event is created as a result of this call; <see langword="false" /> to set it to nonsignaled.</param>
/// <param name="mode">One of the <see cref="T:System.Threading.EventResetMode" /> values that determines whether the event resets automatically or manually.</param>
/// <param name="name">The name of a system-wide synchronization event.</param>
/// <exception cref="T:System.IO.IOException">A Win32 error occurred.</exception>
/// <exception cref="T:System.UnauthorizedAccessException">The named event exists and has access control security, but the user does not have <see cref="F:System.Security.AccessControl.EventWaitHandleRights.FullControl" />.</exception>
/// <exception cref="T:System.Threading.WaitHandleCannotBeOpenedException">The named event cannot be created, perhaps because a wait handle of a different type has the same name.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="name" /> is longer than 260 characters.</exception>
// Token: 0x06001F18 RID: 7960 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001F18")]
[Address(RVA = "0xF2B220", Offset = "0xF2A220", VA = "0x180F2B220")]
public EventWaitHandle(bool initialState, EventResetMode mode, string name)
{
}
/// <summary>Sets the state of the event to nonsignaled, causing threads to block.</summary>
/// <returns>
/// <see langword="true" /> if the operation succeeds; otherwise, <see langword="false" />.</returns>
/// <exception cref="T:System.ObjectDisposedException">The <see cref="M:System.Threading.WaitHandle.Close" /> method was previously called on this <see cref="T:System.Threading.EventWaitHandle" />.</exception>
// Token: 0x06001F19 RID: 7961 RVA: 0x000150A8 File Offset: 0x000132A8
[Token(Token = "0x6001F19")]
[Address(RVA = "0xF2B120", Offset = "0xF2A120", VA = "0x180F2B120")]
public bool Reset()
{
return default(bool);
}
/// <summary>Sets the state of the event to signaled, allowing one or more waiting threads to proceed.</summary>
/// <returns>
/// <see langword="true" /> if the operation succeeds; otherwise, <see langword="false" />.</returns>
/// <exception cref="T:System.ObjectDisposedException">The <see cref="M:System.Threading.WaitHandle.Close" /> method was previously called on this <see cref="T:System.Threading.EventWaitHandle" />.</exception>
// Token: 0x06001F1A RID: 7962 RVA: 0x000150C0 File Offset: 0x000132C0
[Token(Token = "0x6001F1A")]
[Address(RVA = "0xF2B190", Offset = "0xF2A190", VA = "0x180F2B190")]
public bool Set()
{
return default(bool);
}
}
}