Click or drag to resize

CNamedMutex(String, Boolean) Constructor

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

Namespace: Crestron.SimplSharp
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public CNamedMutex(
	string mutexName,
	bool bLogInfoIfMutexAlreadyExists
)

Parameters

mutexName  String
Name of the mutex
bLogInfoIfMutexAlreadyExists  Boolean
If true will log an info message if the mutex already exists (created by another program)
Exceptions
ExceptionCondition
ExceptionUnable to create mutex

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also