using System;
using System.Runtime.ConstrainedExecution;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Threading
{
/// Provides a mechanism that synchronizes access to objects.
// Token: 0x0200033D RID: 829
[Token(Token = "0x200033D")]
[ComVisible(true)]
public static class Monitor
{
/// Acquires an exclusive lock on the specified object.
/// The object on which to acquire the monitor lock.
/// The parameter is .
// Token: 0x06001F53 RID: 8019 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001F53")]
[Address(RVA = "0xF2E8F0", Offset = "0xF2D8F0", VA = "0x180F2E8F0")]
public static void Enter(object obj)
{
}
/// Acquires an exclusive lock on the specified object, and atomically sets a value that indicates whether the lock was taken.
/// The object on which to wait.
/// The result of the attempt to acquire the lock, passed by reference. The input must be . The output is if the lock is acquired; otherwise, the output is . The output is set even if an exception occurs during the attempt to acquire the lock.
/// Note If no exception occurs, the output of this method is always .
/// The input to is .
/// The parameter is .
// Token: 0x06001F54 RID: 8020 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001F54")]
[Address(RVA = "0xF2E900", Offset = "0xF2D900", VA = "0x180F2E900")]
public static void Enter(object obj, ref bool lockTaken)
{
}
// Token: 0x06001F55 RID: 8021 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001F55")]
[Address(RVA = "0xF2EEE0", Offset = "0xF2DEE0", VA = "0x180F2EEE0")]
private static void ThrowLockTakenException()
{
}
/// Releases an exclusive lock on the specified object.
/// The object on which to release the lock.
/// The parameter is .
/// The current thread does not own the lock for the specified object.
// Token: 0x06001F56 RID: 8022 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001F56")]
[Address(RVA = "0xF2E990", Offset = "0xF2D990", VA = "0x180F2E990")]
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
public static void Exit(object obj)
{
}
/// Attempts to acquire an exclusive lock on the specified object.
/// The object on which to acquire the lock.
///
/// if the current thread acquires the lock; otherwise, .
/// The parameter is .
// Token: 0x06001F57 RID: 8023 RVA: 0x000151F8 File Offset: 0x000133F8
[Token(Token = "0x6001F57")]
[Address(RVA = "0xF2EF50", Offset = "0xF2DF50", VA = "0x180F2EF50")]
public static bool TryEnter(object obj)
{
return default(bool);
}
/// Attempts to acquire an exclusive lock on the specified object, and atomically sets a value that indicates whether the lock was taken.
/// The object on which to acquire the lock.
/// The result of the attempt to acquire the lock, passed by reference. The input must be . The output is if the lock is acquired; otherwise, the output is . The output is set even if an exception occurs during the attempt to acquire the lock.
/// The input to is .
/// The parameter is .
// Token: 0x06001F58 RID: 8024 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001F58")]
[Address(RVA = "0xF2F080", Offset = "0xF2E080", VA = "0x180F2F080")]
public static void TryEnter(object obj, ref bool lockTaken)
{
}
/// Attempts, for the specified number of milliseconds, to acquire an exclusive lock on the specified object.
/// The object on which to acquire the lock.
/// The number of milliseconds to wait for the lock.
///
/// if the current thread acquires the lock; otherwise, .
/// The parameter is .
///
/// is negative, and not equal to .
// Token: 0x06001F59 RID: 8025 RVA: 0x00015210 File Offset: 0x00013410
[Token(Token = "0x6001F59")]
[Address(RVA = "0xF2EF80", Offset = "0xF2DF80", VA = "0x180F2EF80")]
public static bool TryEnter(object obj, int millisecondsTimeout)
{
return default(bool);
}
// Token: 0x06001F5A RID: 8026 RVA: 0x00015228 File Offset: 0x00013428
[Token(Token = "0x6001F5A")]
[Address(RVA = "0xF2E9A0", Offset = "0xF2D9A0", VA = "0x180F2E9A0")]
private static int MillisecondsTimeoutFromTimeSpan(TimeSpan timeout)
{
return 0;
}
/// Attempts, for the specified amount of time, to acquire an exclusive lock on the specified object.
/// The object on which to acquire the lock.
/// A representing the amount of time to wait for the lock. A value of -1 millisecond specifies an infinite wait.
///
/// if the current thread acquires the lock; otherwise, .
/// The parameter is .
/// The value of in milliseconds is negative and is not equal to (-1 millisecond), or is greater than .
// Token: 0x06001F5B RID: 8027 RVA: 0x00015240 File Offset: 0x00013440
[Token(Token = "0x6001F5B")]
[Address(RVA = "0xF2EFC0", Offset = "0xF2DFC0", VA = "0x180F2EFC0")]
public static bool TryEnter(object obj, TimeSpan timeout)
{
return default(bool);
}
/// Attempts, for the specified number of milliseconds, to acquire an exclusive lock on the specified object, and atomically sets a value that indicates whether the lock was taken.
/// The object on which to acquire the lock.
/// The number of milliseconds to wait for the lock.
/// The result of the attempt to acquire the lock, passed by reference. The input must be . The output is if the lock is acquired; otherwise, the output is . The output is set even if an exception occurs during the attempt to acquire the lock.
/// The input to is .
/// The parameter is .
///
/// is negative, and not equal to .
// Token: 0x06001F5C RID: 8028 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001F5C")]
[Address(RVA = "0xF2EFA0", Offset = "0xF2DFA0", VA = "0x180F2EFA0")]
public static void TryEnter(object obj, int millisecondsTimeout, ref bool lockTaken)
{
}
/// Releases the lock on an object and blocks the current thread until it reacquires the lock. If the specified time-out interval elapses, the thread enters the ready queue. This method also specifies whether the synchronization domain for the context (if in a synchronized context) is exited before the wait and reacquired afterward.
/// The object on which to wait.
/// The number of milliseconds to wait before the thread enters the ready queue.
///
/// to exit and reacquire the synchronization domain for the context (if in a synchronized context) before the wait; otherwise, .
///
/// if the lock was reacquired before the specified time elapsed; if the lock was reacquired after the specified time elapsed. The method does not return until the lock is reacquired.
/// The parameter is .
///
/// is not invoked from within a synchronized block of code.
/// The thread that invokes is later interrupted from the waiting state. This happens when another thread calls this thread's method.
/// The value of the parameter is negative, and is not equal to .
// Token: 0x06001F5D RID: 8029 RVA: 0x00015258 File Offset: 0x00013458
[Token(Token = "0x6001F5D")]
[Address(RVA = "0xF2F110", Offset = "0xF2E110", VA = "0x180F2F110")]
public static bool Wait(object obj, int millisecondsTimeout, bool exitContext)
{
return default(bool);
}
/// Releases the lock on an object and blocks the current thread until it reacquires the lock. If the specified time-out interval elapses, the thread enters the ready queue.
/// The object on which to wait.
/// The number of milliseconds to wait before the thread enters the ready queue.
///
/// if the lock was reacquired before the specified time elapsed; if the lock was reacquired after the specified time elapsed. The method does not return until the lock is reacquired.
/// The parameter is .
/// The calling thread does not own the lock for the specified object.
/// The thread that invokes is later interrupted from the waiting state. This happens when another thread calls this thread's method.
/// The value of the parameter is negative, and is not equal to .
// Token: 0x06001F5E RID: 8030 RVA: 0x00015270 File Offset: 0x00013470
[Token(Token = "0x6001F5E")]
[Address(RVA = "0xF2F110", Offset = "0xF2E110", VA = "0x180F2F110")]
public static bool Wait(object obj, int millisecondsTimeout)
{
return default(bool);
}
/// Notifies a thread in the waiting queue of a change in the locked object's state.
/// The object a thread is waiting for.
/// The parameter is .
/// The calling thread does not own the lock for the specified object.
// Token: 0x06001F5F RID: 8031 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001F5F")]
[Address(RVA = "0xF2ECE0", Offset = "0xF2DCE0", VA = "0x180F2ECE0")]
public static void Pulse(object obj)
{
}
/// Notifies all waiting threads of a change in the object's state.
/// The object that sends the pulse.
/// The parameter is .
/// The calling thread does not own the lock for the specified object.
// Token: 0x06001F60 RID: 8032 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001F60")]
[Address(RVA = "0xF2EC20", Offset = "0xF2DC20", VA = "0x180F2EC20")]
public static void PulseAll(object obj)
{
}
// Token: 0x06001F61 RID: 8033 RVA: 0x00015288 File Offset: 0x00013488
[Token(Token = "0x6001F61")]
[Address(RVA = "0xF2EA60", Offset = "0xF2DA60", VA = "0x180F2EA60")]
private static bool Monitor_test_synchronised(object obj)
{
return default(bool);
}
// Token: 0x06001F62 RID: 8034 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001F62")]
[Address(RVA = "0xF2EA50", Offset = "0xF2DA50", VA = "0x180F2EA50")]
private static void Monitor_pulse(object obj)
{
}
// Token: 0x06001F63 RID: 8035 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001F63")]
[Address(RVA = "0xF2EAF0", Offset = "0xF2DAF0", VA = "0x180F2EAF0")]
private static void ObjPulse(object obj)
{
}
// Token: 0x06001F64 RID: 8036 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001F64")]
[Address(RVA = "0xF2EA40", Offset = "0xF2DA40", VA = "0x180F2EA40")]
private static void Monitor_pulse_all(object obj)
{
}
// Token: 0x06001F65 RID: 8037 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001F65")]
[Address(RVA = "0xF2EA80", Offset = "0xF2DA80", VA = "0x180F2EA80")]
private static void ObjPulseAll(object obj)
{
}
// Token: 0x06001F66 RID: 8038 RVA: 0x000152A0 File Offset: 0x000134A0
[Token(Token = "0x6001F66")]
[Address(RVA = "0xF2EA70", Offset = "0xF2DA70", VA = "0x180F2EA70")]
private static bool Monitor_wait(object obj, int ms)
{
return default(bool);
}
// Token: 0x06001F67 RID: 8039 RVA: 0x000152B8 File Offset: 0x000134B8
[Token(Token = "0x6001F67")]
[Address(RVA = "0xF2EB60", Offset = "0xF2DB60", VA = "0x180F2EB60")]
private static bool ObjWait(bool exitContext, int millisecondsTimeout, object obj)
{
return default(bool);
}
// Token: 0x06001F68 RID: 8040 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001F68")]
[Address(RVA = "0xF2F220", Offset = "0xF2E220", VA = "0x180F2F220")]
private static void try_enter_with_atomic_var(object obj, int millisecondsTimeout, ref bool lockTaken)
{
}
// Token: 0x06001F69 RID: 8041 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001F69")]
[Address(RVA = "0xF2EDA0", Offset = "0xF2DDA0", VA = "0x180F2EDA0")]
private static void ReliableEnterTimeout(object obj, int timeout, ref bool lockTaken)
{
}
// Token: 0x06001F6A RID: 8042 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001F6A")]
[Address(RVA = "0xF2EE60", Offset = "0xF2DE60", VA = "0x180F2EE60")]
private static void ReliableEnter(object obj, ref bool lockTaken)
{
}
}
}