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
Methods
Equals(AsyncQueue?)
public bool Equals(AsyncQueue? other)
Parameters
other
AsyncQueue
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.
Length()
public int Length()
Returns
LengthUnlocked()
public int LengthUnlocked()
Returns
Lock()
public void Lock()
New()
public static AsyncQueue New()
Returns
Pop()
public IntPtr Pop()
Returns
PopUnlocked()
public IntPtr PopUnlocked()
Returns
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
IntPtrfunc
CompareDataFunc
PushSortedUnlocked(IntPtr, CompareDataFunc)
[Version("2.10")]
public void PushSortedUnlocked(IntPtr data, CompareDataFunc func)
Parameters
data
IntPtrfunc
CompareDataFunc
PushUnlocked(IntPtr)
public void PushUnlocked(IntPtr data)
Parameters
data
IntPtr
Ref()
public AsyncQueue Ref()
Returns
RefUnlocked()
public void RefUnlocked()
Remove(IntPtr)
[Version("2.46")]
public bool Remove(IntPtr item)
Parameters
item
IntPtr
Returns
RemoveUnlocked(IntPtr)
[Version("2.46")]
public bool RemoveUnlocked(IntPtr item)
Parameters
item
IntPtr
Returns
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
TimedPopUnlocked(TimeVal)
public IntPtr TimedPopUnlocked(TimeVal endTime)
Parameters
endTime
TimeVal
Returns
TimeoutPop(ulong)
public IntPtr TimeoutPop(ulong timeout)
Parameters
timeout
ulong
Returns
TimeoutPopUnlocked(ulong)
public IntPtr TimeoutPopUnlocked(ulong timeout)
Parameters
timeout
ulong
Returns
TryPop()
public IntPtr TryPop()
Returns
TryPopUnlocked()
public IntPtr TryPopUnlocked()
Returns
Unlock()
public void Unlock()
Unref()
public void Unref()
UnrefAndUnlock()
public void UnrefAndUnlock()