Initializes a new instance of the Mutex2 class with a Boolean value indicating whether the calling thread should have initial ownership of the mutex, a string that is the name of the mutex, and a Boolean value that, when the method returns, will indicate whether the calling thread was granted initial ownership 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.
- createdNew
- Type:
System Boolean
When this method returns, contains a Boolean that is true if the calling thread was granted initial ownership of the mutex; otherwise, false. This parameter is passed uninitialized.
See Also