RtMutex Constructor (Boolean, String, Boolean)
Initializes a new instance of the RtMutex 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:
IntervalZero.MaxRT.wRTOS.RtApi.Threading
Assembly:
IntervalZero.MaxRT.wRTOS (in IntervalZero.MaxRT.wRTOS.dll) Version: 1.0.0.0 (File version: 1.0.1)
Syntax
public RtMutex(
bool initiallyOwned,
string name,
out bool createdNew
)
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: