Function

Ideget_main_thread

Declaration

GThread*
ide_get_main_thread (
  void
)

Description

Gets GThread of the main thread.

Generally this is used by macros to determine what thread they code is currently running within.

Return value

Type: GThread

A GThread.

The data is owned by the called function.