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.

Available since:3.32

Return value

Returns: GThread
 

A GThread.

 The data is owned by the called function.