Click or drag to resize

CNamedMutex(Boolean, String, Boolean) Constructor

Constructor for the Crestron Mutex

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

Parameters

bInitialOwner  Boolean
True to give the calling thread initial ownership of the mutex; otherwise false.
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