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.SimplSharpAssembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntaxpublic 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| Exception | Condition |
|---|
| Exception | Unable to create mutex |
Version Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also