Class CriticalSection
Provides utilities for managing various critical sections.
Inheritance
System.Object
CriticalSection
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: IPA.Utilities
Assembly: IPA.Loader.dll
Syntax
public static class CriticalSection
Methods
| Improve this Doc View SourceEnterExecuteSection()
Enters a critical execution section. Does not nest.
Declaration
public static void EnterExecuteSection()
ExecuteSection()
Creates an CriticalSection.AutoExecuteSection for automated management of an execute section.
Declaration
public static CriticalSection.AutoExecuteSection ExecuteSection()
Returns
Type | Description |
---|---|
CriticalSection.AutoExecuteSection | the new CriticalSection.AutoExecuteSection that manages the section |
ExitExecuteSection()
Exits a critical execution section. Does not nest.
Declaration
public static void ExitExecuteSection()