using System; using System.Runtime.ConstrainedExecution; using System.Runtime.InteropServices; using Cpp2IlInjected; namespace System.Threading { /// Provides a mechanism that synchronizes access to objects. // Token: 0x02000323 RID: 803 [Token(Token = "0x2000323")] [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: 0x06001D52 RID: 7506 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001D52")] [Address(RVA = "0x2923730", Offset = "0x2922530", VA = "0x182923730")] 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: 0x06001D53 RID: 7507 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001D53")] [Address(RVA = "0x2923740", Offset = "0x2922540", VA = "0x182923740")] public static void Enter(object obj, ref bool lockTaken) { } // Token: 0x06001D54 RID: 7508 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001D54")] [Address(RVA = "0x2923D20", Offset = "0x2922B20", VA = "0x182923D20")] 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: 0x06001D55 RID: 7509 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001D55")] [Address(RVA = "0x29237D0", Offset = "0x29225D0", VA = "0x1829237D0")] [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: 0x06001D56 RID: 7510 RVA: 0x00012E58 File Offset: 0x00011058 [Token(Token = "0x6001D56")] [Address(RVA = "0x2923D90", Offset = "0x2922B90", VA = "0x182923D90")] public static bool TryEnter(object obj) { return default(bool); } /// 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: 0x06001D57 RID: 7511 RVA: 0x00012E70 File Offset: 0x00011070 [Token(Token = "0x6001D57")] [Address(RVA = "0x2923DC0", Offset = "0x2922BC0", VA = "0x182923DC0")] public static bool TryEnter(object obj, int millisecondsTimeout) { return default(bool); } // Token: 0x06001D58 RID: 7512 RVA: 0x00012E88 File Offset: 0x00011088 [Token(Token = "0x6001D58")] [Address(RVA = "0x29237E0", Offset = "0x29225E0", VA = "0x1829237E0")] 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: 0x06001D59 RID: 7513 RVA: 0x00012EA0 File Offset: 0x000110A0 [Token(Token = "0x6001D59")] [Address(RVA = "0x2923E00", Offset = "0x2922C00", VA = "0x182923E00")] 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: 0x06001D5A RID: 7514 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001D5A")] [Address(RVA = "0x2923DE0", Offset = "0x2922BE0", VA = "0x182923DE0")] 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: 0x06001D5B RID: 7515 RVA: 0x00012EB8 File Offset: 0x000110B8 [Token(Token = "0x6001D5B")] [Address(RVA = "0x2923EC0", Offset = "0x2922CC0", VA = "0x182923EC0")] 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: 0x06001D5C RID: 7516 RVA: 0x00012ED0 File Offset: 0x000110D0 [Token(Token = "0x6001D5C")] [Address(RVA = "0x2923EC0", Offset = "0x2922CC0", VA = "0x182923EC0")] 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: 0x06001D5D RID: 7517 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001D5D")] [Address(RVA = "0x2923B20", Offset = "0x2922920", VA = "0x182923B20")] 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: 0x06001D5E RID: 7518 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001D5E")] [Address(RVA = "0x2923A60", Offset = "0x2922860", VA = "0x182923A60")] public static void PulseAll(object obj) { } // Token: 0x06001D5F RID: 7519 RVA: 0x00012EE8 File Offset: 0x000110E8 [Token(Token = "0x6001D5F")] [Address(RVA = "0x29238A0", Offset = "0x29226A0", VA = "0x1829238A0")] private static bool Monitor_test_synchronised(object obj) { return default(bool); } // Token: 0x06001D60 RID: 7520 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001D60")] [Address(RVA = "0x2923890", Offset = "0x2922690", VA = "0x182923890")] private static void Monitor_pulse(object obj) { } // Token: 0x06001D61 RID: 7521 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001D61")] [Address(RVA = "0x2923930", Offset = "0x2922730", VA = "0x182923930")] private static void ObjPulse(object obj) { } // Token: 0x06001D62 RID: 7522 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001D62")] [Address(RVA = "0x2923880", Offset = "0x2922680", VA = "0x182923880")] private static void Monitor_pulse_all(object obj) { } // Token: 0x06001D63 RID: 7523 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001D63")] [Address(RVA = "0x29238C0", Offset = "0x29226C0", VA = "0x1829238C0")] private static void ObjPulseAll(object obj) { } // Token: 0x06001D64 RID: 7524 RVA: 0x00012F00 File Offset: 0x00011100 [Token(Token = "0x6001D64")] [Address(RVA = "0x29238B0", Offset = "0x29226B0", VA = "0x1829238B0")] private static bool Monitor_wait(object obj, int ms) { return default(bool); } // Token: 0x06001D65 RID: 7525 RVA: 0x00012F18 File Offset: 0x00011118 [Token(Token = "0x6001D65")] [Address(RVA = "0x29239A0", Offset = "0x29227A0", VA = "0x1829239A0")] private static bool ObjWait(bool exitContext, int millisecondsTimeout, object obj) { return default(bool); } // Token: 0x06001D66 RID: 7526 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001D66")] [Address(RVA = "0x2923FD0", Offset = "0x2922DD0", VA = "0x182923FD0")] private static void try_enter_with_atomic_var(object obj, int millisecondsTimeout, ref bool lockTaken) { } // Token: 0x06001D67 RID: 7527 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001D67")] [Address(RVA = "0x2923BE0", Offset = "0x29229E0", VA = "0x182923BE0")] private static void ReliableEnterTimeout(object obj, int timeout, ref bool lockTaken) { } // Token: 0x06001D68 RID: 7528 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001D68")] [Address(RVA = "0x2923CA0", Offset = "0x2922AA0", VA = "0x182923CA0")] private static void ReliableEnter(object obj, ref bool lockTaken) { } } }