Class Thread
- Namespace
- GLib
- Assembly
- GLib-2.0.dll
public sealed class Thread : BoxedRecord, IEquatable<Thread>
- Inheritance
-
Thread
- Implements
- Inherited Members
Constructors
Thread()
public Thread()
Thread(ThreadOwnedHandle)
public Thread(ThreadOwnedHandle handle)
Parameters
handle
ThreadOwnedHandle
Properties
Handle
public ThreadOwnedHandle Handle { get; }
Property Value
Methods
Equals(Thread?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(Thread? other)
Parameters
other
ThreadAn object to compare with this object.
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
ErrorQuark()
public static Quark ErrorQuark()
Returns
Exit(IntPtr)
public static void Exit(IntPtr retval)
Parameters
retval
IntPtr
Foreach(Func)
[Version("2.10")]
public static void Foreach(Func threadFunc)
Parameters
threadFunc
Func
GetGType()
public static Type GetGType()
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
GetInitialized()
[Version("2.20")]
public static bool GetInitialized()
Returns
Init(IntPtr)
public static void Init(IntPtr vtable)
Parameters
vtable
IntPtr
InitWithErrorcheckMutexes(IntPtr)
public static void InitWithErrorcheckMutexes(IntPtr vtable)
Parameters
vtable
IntPtr
Join()
public IntPtr Join()
Returns
Ref()
[Version("2.32")]
public Thread Ref()
Returns
Self()
public static Thread Self()
Returns
SetPriority(ThreadPriority)
public void SetPriority(ThreadPriority priority)
Parameters
priority
ThreadPriority
Unref()
[Version("2.32")]
public void Unref()
Yield()
public static void Yield()