RTMutex Constructor (Boolean, String, Boolean ) IntervalZero RTX Managed Code
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.Threading
Assembly:  IntervalZero.RTX (in IntervalZero.RTX.dll) Version: 12.0.0.0 (12.0.0.0)

Syntax

public RTMutex(
	bool initiallyOwned,
	string name,
	out bool createdNew
)

Parameters

initiallyOwned
Type: OnlineSystem Boolean
true to give the calling thread initial ownership of the mutex; otherwise, false.
name
Type: OnlineSystem String
The name of the Mutex. If the value is a null reference (Nothing in Visual Basic), the Mutex is unnamed.
createdNew
Type: OnlineSystem 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