Class AtomicMutex
A managed mutex.
Inheritance
System.Object
AtomicMutex
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: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public class AtomicMutex
Constructors
AtomicMutex()
Creates a new instance of an AtomicMutex.
Declaration
public AtomicMutex()
Properties
IsLocked
Gets if the mutex is locked or not.
Declaration
public bool IsLocked { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
Release()
Releases the lock.
Declaration
public void Release()
TryLock()
Tries to obtain a lock with this thread.
Declaration
public bool TryLock()
Returns
Type | Description |
---|---|
System.Boolean |