Click or drag to resize

CNamedMutex Class

Class for the crestron Named Mutex A named mutex can be shared across multiple programs
Inheritance Hierarchy
SystemObject
  Crestron.SimplSharpCNamedMutex

Namespace: Crestron.SimplSharp
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public class CNamedMutex : IDisposable

The CNamedMutex type exposes the following members.

Constructors
 NameDescription
Public methodCNamedMutex(String, Boolean) Constructor for the Crestron named Mutex This can be used to synchronize across multiple programs Mutex is not initially owned - Use WaitForMutex to get ownership
Public methodCNamedMutex(Boolean, String, Boolean) Constructor for the Crestron Mutex
Top
Properties
 NameDescription
Public propertyName Property to get the name of the mutex
Top
Methods
 NameDescription
Public methodClose Closes the mutex
Public methodDispose Clean up of unmanaged resources.
Protected methodDispose(Boolean) Dispose implementation
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalize Destructor for the CMutex class
(Overrides ObjectFinalize)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodReleaseMutex Function to release the mutex
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodWaitForMutex Function to acquire the specified mutex. This will block indefinitely until the mutex can be acquired
Public methodWaitForMutex(Int32) Function to acquire the specified mutex. This will block for the specified timeout In ms
Top

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also