Method

GLibThreadref

since: 2.32

Declaration

GThread*
g_thread_ref (
  GThread* thread
)

Description

Increase the reference count on thread.

Available since: 2.32

Return value

Type: GThread

A new reference to thread.

The caller of the method takes ownership of the data, and is responsible for freeing it.