Class RecMutex
- Namespace
- GLib
- Assembly
- GLib-2.0.dll
public sealed class RecMutex
- Inheritance
-
RecMutex
- Inherited Members
Constructors
RecMutex()
public RecMutex()
RecMutex(RecMutexOwnedHandle)
public RecMutex(RecMutexOwnedHandle handle)
Parameters
handle
RecMutexOwnedHandle
Properties
Handle
public RecMutexOwnedHandle Handle { get; }
Property Value
Methods
Clear()
[Version("2.32")]
public void Clear()
Equals(RecMutex?)
public bool Equals(RecMutex? other)
Parameters
other
RecMutex
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
Init()
[Version("2.32")]
public void Init()
Lock()
[Version("2.32")]
public void Lock()
Trylock()
[Version("2.32")]
public bool Trylock()
Returns
Unlock()
[Version("2.32")]
public void Unlock()