Table of Contents

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

RecMutexOwnedHandle

Methods

Clear()

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

Equals(RecMutex?)

public bool Equals(RecMutex? other)

Parameters

other RecMutex

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()

Lock()

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

Trylock()

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

Returns

bool

Unlock()

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