Class RWLock
- Namespace
- GLib
- Assembly
- GLib-2.0.dll
public sealed class RWLock
- Inheritance
-
RWLock
- Inherited Members
Constructors
RWLock()
public RWLock()
RWLock(RWLockOwnedHandle)
public RWLock(RWLockOwnedHandle handle)
Parameters
handle
RWLockOwnedHandle
Properties
Handle
public RWLockOwnedHandle Handle { get; }
Property Value
Methods
Clear()
[Version("2.32")]
public void Clear()
Equals(RWLock?)
public bool Equals(RWLock? other)
Parameters
other
RWLock
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()
ReaderLock()
[Version("2.32")]
public void ReaderLock()
ReaderTrylock()
[Version("2.32")]
public bool ReaderTrylock()
Returns
ReaderUnlock()
[Version("2.32")]
public void ReaderUnlock()
WriterLock()
[Version("2.32")]
public void WriterLock()
WriterTrylock()
[Version("2.32")]
public bool WriterTrylock()
Returns
WriterUnlock()
[Version("2.32")]
public void WriterUnlock()