Initializes a new instance of the Mutex2 class with a Boolean value indicating whether the calling thread should have initial ownership of the mutex, and a string that is the name of the mutex.
Namespace: RTX.ThreadingAssembly: IntervalZero.RTX (in IntervalZero.RTX.dll) Version: 12.0.0.0 (12.0.0.0)
Syntax
Parameters
- initiallyOwned
- Type:
System Boolean
true to give the calling thread initial ownership of the mutex; otherwise, false.
- name
- Type:
System String
The name of the Mutex. If the value is a null reference (Nothing in Visual Basic), the Mutex is unnamed.
Exceptions
Exception | Condition |
---|---|
![]() | Failed to create mutex. |
See Also