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: 0x02000348 RID: 840
|
|
[Token(Token = "0x2000348")]
|
|
[ComVisible(true)]
|
|
public sealed class Mutex : WaitHandle
|
|
{
|
|
// Token: 0x06001E5F RID: 7775 RVA: 0x00013650 File Offset: 0x00011850
|
|
[Token(Token = "0x6001E5F")]
|
|
[Address(RVA = "0x2923FF0", Offset = "0x2922DF0", VA = "0x182923FF0")]
|
|
private static bool ReleaseMutex_internal(IntPtr handle)
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
// Token: 0x06001E60 RID: 7776 RVA: 0x00013668 File Offset: 0x00011868
|
|
[Token(Token = "0x6001E60")]
|
|
[Address(RVA = "0x2923FE0", Offset = "0x2922DE0", VA = "0x182923FE0")]
|
|
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: 0x06001E61 RID: 7777 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001E61")]
|
|
[Address(RVA = "0x2924080", Offset = "0x2922E80", VA = "0x182924080")]
|
|
[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: 0x06001E62 RID: 7778 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001E62")]
|
|
[Address(RVA = "0x2924100", Offset = "0x2922F00", VA = "0x182924100")]
|
|
[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: 0x06001E63 RID: 7779 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001E63")]
|
|
[Address(RVA = "0x2924000", Offset = "0x2922E00", VA = "0x182924000")]
|
|
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.MayFail)]
|
|
public void ReleaseMutex()
|
|
{
|
|
}
|
|
}
|
|
}
|