Table of Contents

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

RWLockOwnedHandle

Methods

Clear()

[Version("2.32")]
public void Clear()

Equals(RWLock?)

public bool Equals(RWLock? other)

Parameters

other RWLock

Returns

bool

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

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

bool

ReaderUnlock()

[Version("2.32")]
public void ReaderUnlock()

WriterLock()

[Version("2.32")]
public void WriterLock()

WriterTrylock()

[Version("2.32")]
public bool WriterTrylock()

Returns

bool

WriterUnlock()

[Version("2.32")]
public void WriterUnlock()