Companion

object Companion : RecordCompanion<Thread, <Error class: unknown class>>

Functions

Link copied to clipboard
fun errorQuark(): <Error class: unknown class>
Link copied to clipboard
fun self(): Thread

This function returns the #GThread corresponding to the current thread. Note that this function does not increase the reference count of the returned struct.

Link copied to clipboard
open override fun wrapRecordPointer(pointer: <Error class: unknown class><out <Error class: unknown class>>): Thread

Wrap a CPointer pointing to a record of this type into its wrapper class.

Link copied to clipboard
fun yield()

Causes the calling thread to voluntarily relinquish the CPU, so that other threads can run.