Table of Contents

Class AsyncQueue

Namespace
GLib
Assembly
GLib-2.0.dll
public sealed class AsyncQueue
Inheritance
AsyncQueue
Inherited Members

Constructors

AsyncQueue(AsyncQueueOwnedHandle)

public AsyncQueue(AsyncQueueOwnedHandle handle)

Parameters

handle AsyncQueueOwnedHandle

Properties

Handle

public AsyncQueueOwnedHandle Handle { get; }

Property Value

AsyncQueueOwnedHandle

Methods

Equals(AsyncQueue?)

public bool Equals(AsyncQueue? other)

Parameters

other AsyncQueue

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.

Length()

public int Length()

Returns

int

LengthUnlocked()

public int LengthUnlocked()

Returns

int

Lock()

public void Lock()

New()

public static AsyncQueue New()

Returns

AsyncQueue

Pop()

public IntPtr Pop()

Returns

IntPtr

PopUnlocked()

public IntPtr PopUnlocked()

Returns

IntPtr

Push(IntPtr)

public void Push(IntPtr data)

Parameters

data IntPtr

PushFront(IntPtr)

[Version("2.46")]
public void PushFront(IntPtr item)

Parameters

item IntPtr

PushFrontUnlocked(IntPtr)

[Version("2.46")]
public void PushFrontUnlocked(IntPtr item)

Parameters

item IntPtr

PushSorted(IntPtr, CompareDataFunc)

[Version("2.10")]
public void PushSorted(IntPtr data, CompareDataFunc func)

Parameters

data IntPtr
func CompareDataFunc

PushSortedUnlocked(IntPtr, CompareDataFunc)

[Version("2.10")]
public void PushSortedUnlocked(IntPtr data, CompareDataFunc func)

Parameters

data IntPtr
func CompareDataFunc

PushUnlocked(IntPtr)

public void PushUnlocked(IntPtr data)

Parameters

data IntPtr

Ref()

public AsyncQueue Ref()

Returns

AsyncQueue

RefUnlocked()

public void RefUnlocked()

Remove(IntPtr)

[Version("2.46")]
public bool Remove(IntPtr item)

Parameters

item IntPtr

Returns

bool

RemoveUnlocked(IntPtr)

[Version("2.46")]
public bool RemoveUnlocked(IntPtr item)

Parameters

item IntPtr

Returns

bool

Sort(CompareDataFunc)

[Version("2.10")]
public void Sort(CompareDataFunc func)

Parameters

func CompareDataFunc

SortUnlocked(CompareDataFunc)

[Version("2.10")]
public void SortUnlocked(CompareDataFunc func)

Parameters

func CompareDataFunc

TimedPop(TimeVal)

public IntPtr TimedPop(TimeVal endTime)

Parameters

endTime TimeVal

Returns

IntPtr

TimedPopUnlocked(TimeVal)

public IntPtr TimedPopUnlocked(TimeVal endTime)

Parameters

endTime TimeVal

Returns

IntPtr

TimeoutPop(ulong)

public IntPtr TimeoutPop(ulong timeout)

Parameters

timeout ulong

Returns

IntPtr

TimeoutPopUnlocked(ulong)

public IntPtr TimeoutPopUnlocked(ulong timeout)

Parameters

timeout ulong

Returns

IntPtr

TryPop()

public IntPtr TryPop()

Returns

IntPtr

TryPopUnlocked()

public IntPtr TryPopUnlocked()

Returns

IntPtr

Unlock()

public void Unlock()

Unref()

public void Unref()

UnrefAndUnlock()

public void UnrefAndUnlock()