Function

Valentget_main_thread

unstable since: 1.0

Declaration [src]

GThread*
valent_get_main_thread (
  void
)

Description [src]

Get the main thread.

Use the macro VALENT_IS_MAIN_THREAD() to determine whether or not the code is currently running on the main thread.

Available since: 1.0

This function is not directly available to language bindings.

Return value

Type: GThread

A GThread

The data is owned by the called function.