62 lines
2.6 KiB
C#
62 lines
2.6 KiB
C#
using System;
|
|
using System.Runtime.ConstrainedExecution;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Threading
|
|
{
|
|
/// <summary>A synchronization primitive that can also be used for interprocess synchronization.</summary>
|
|
// Token: 0x02000363 RID: 867
|
|
[Token(Token = "0x2000363")]
|
|
[ComVisible(true)]
|
|
public sealed class Mutex : WaitHandle
|
|
{
|
|
// Token: 0x06002065 RID: 8293 RVA: 0x00015A20 File Offset: 0x00013C20
|
|
[Token(Token = "0x6002065")]
|
|
[Address(RVA = "0xF2F240", Offset = "0xF2E240", VA = "0x180F2F240")]
|
|
private static bool ReleaseMutex_internal(IntPtr handle)
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
// Token: 0x06002066 RID: 8294 RVA: 0x00015A38 File Offset: 0x00013C38
|
|
[Token(Token = "0x6002066")]
|
|
[Address(RVA = "0xF2F230", Offset = "0xF2E230", VA = "0x180F2F230")]
|
|
private static IntPtr CreateMutex_internal(bool initiallyOwned, string name, out bool created)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Threading.Mutex" /> class with default properties.</summary>
|
|
// Token: 0x06002067 RID: 8295 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002067")]
|
|
[Address(RVA = "0xF2F2D0", Offset = "0xF2E2D0", VA = "0x180F2F2D0")]
|
|
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.MayFail)]
|
|
public Mutex()
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Threading.Mutex" /> class with a Boolean value that indicates whether the calling thread should have initial ownership of the mutex.</summary>
|
|
/// <param name="initiallyOwned">
|
|
/// <see langword="true" /> to give the calling thread initial ownership of the mutex; otherwise, <see langword="false" />.</param>
|
|
// Token: 0x06002068 RID: 8296 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002068")]
|
|
[Address(RVA = "0xF2F350", Offset = "0xF2E350", VA = "0x180F2F350")]
|
|
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.MayFail)]
|
|
public Mutex(bool initiallyOwned)
|
|
{
|
|
}
|
|
|
|
/// <summary>Releases the <see cref="T:System.Threading.Mutex" /> once.</summary>
|
|
/// <exception cref="T:System.ApplicationException">The calling thread does not own the mutex.</exception>
|
|
/// <exception cref="T:System.ObjectDisposedException">The current instance has already been disposed.</exception>
|
|
// Token: 0x06002069 RID: 8297 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002069")]
|
|
[Address(RVA = "0xF2F250", Offset = "0xF2E250", VA = "0x180F2F250")]
|
|
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.MayFail)]
|
|
public void ReleaseMutex()
|
|
{
|
|
}
|
|
}
|
|
}
|