Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
gthreadpool.h File Reference
#include <glib/gthread.h>

Go to the source code of this file.

Data Structures

struct  _GThreadPool
 

Typedefs

typedef typedefG_BEGIN_DECLS struct _GThreadPool GThreadPool
 

Functions

GLIB_AVAILABLE_IN_ALL GThreadPoolg_thread_pool_new (GFunc func, gpointer user_data, gint max_threads, gboolean exclusive, GError **error)
 
GLIB_AVAILABLE_IN_2_70 GThreadPoolg_thread_pool_new_full (GFunc func, gpointer user_data, GDestroyNotify item_free_func, gint max_threads, gboolean exclusive, GError **error)
 
GLIB_AVAILABLE_IN_ALL void g_thread_pool_free (GThreadPool *pool, gboolean immediate, gboolean wait_)
 
GLIB_AVAILABLE_IN_ALL gboolean g_thread_pool_push (GThreadPool *pool, gpointer data, GError **error)
 
GLIB_AVAILABLE_IN_ALL guint g_thread_pool_unprocessed (GThreadPool *pool)
 
GLIB_AVAILABLE_IN_ALL void g_thread_pool_set_sort_function (GThreadPool *pool, GCompareDataFunc func, gpointer user_data)
 
GLIB_AVAILABLE_IN_2_46 gboolean g_thread_pool_move_to_front (GThreadPool *pool, gpointer data)
 
GLIB_AVAILABLE_IN_ALL gboolean g_thread_pool_set_max_threads (GThreadPool *pool, gint max_threads, GError **error)
 
GLIB_AVAILABLE_IN_ALL gint g_thread_pool_get_max_threads (GThreadPool *pool)
 
GLIB_AVAILABLE_IN_ALL guint g_thread_pool_get_num_threads (GThreadPool *pool)
 
GLIB_AVAILABLE_IN_ALL void g_thread_pool_set_max_unused_threads (gint max_threads)
 
GLIB_AVAILABLE_IN_ALL gint g_thread_pool_get_max_unused_threads (void)
 
GLIB_AVAILABLE_IN_ALL guint g_thread_pool_get_num_unused_threads (void)
 
GLIB_AVAILABLE_IN_ALL void g_thread_pool_stop_unused_threads (void)
 
GLIB_AVAILABLE_IN_ALL void g_thread_pool_set_max_idle_time (guint interval)
 
GLIB_AVAILABLE_IN_ALL guint g_thread_pool_get_max_idle_time (void)
 

Typedef Documentation

◆ GThreadPool

typedef typedefG_BEGIN_DECLS struct _GThreadPool GThreadPool

Definition at line 38 of file gthreadpool.h.

Function Documentation

◆ g_thread_pool_free()

GLIB_AVAILABLE_IN_ALL void g_thread_pool_free ( GThreadPool * pool,
gboolean immediate,
gboolean wait_ )

◆ g_thread_pool_get_max_idle_time()

GLIB_AVAILABLE_IN_ALL guint g_thread_pool_get_max_idle_time ( void )

◆ g_thread_pool_get_max_threads()

GLIB_AVAILABLE_IN_ALL gint g_thread_pool_get_max_threads ( GThreadPool * pool)

◆ g_thread_pool_get_max_unused_threads()

GLIB_AVAILABLE_IN_ALL gint g_thread_pool_get_max_unused_threads ( void )

◆ g_thread_pool_get_num_threads()

GLIB_AVAILABLE_IN_ALL guint g_thread_pool_get_num_threads ( GThreadPool * pool)

◆ g_thread_pool_get_num_unused_threads()

GLIB_AVAILABLE_IN_ALL guint g_thread_pool_get_num_unused_threads ( void )

◆ g_thread_pool_move_to_front()

GLIB_AVAILABLE_IN_2_46 gboolean g_thread_pool_move_to_front ( GThreadPool * pool,
gpointer data )

◆ g_thread_pool_new()

GLIB_AVAILABLE_IN_ALL GThreadPool * g_thread_pool_new ( GFunc func,
gpointer user_data,
gint max_threads,
gboolean exclusive,
GError ** error )

◆ g_thread_pool_new_full()

GLIB_AVAILABLE_IN_2_70 GThreadPool * g_thread_pool_new_full ( GFunc func,
gpointer user_data,
GDestroyNotify item_free_func,
gint max_threads,
gboolean exclusive,
GError ** error )

◆ g_thread_pool_push()

GLIB_AVAILABLE_IN_ALL gboolean g_thread_pool_push ( GThreadPool * pool,
gpointer data,
GError ** error )

◆ g_thread_pool_set_max_idle_time()

GLIB_AVAILABLE_IN_ALL void g_thread_pool_set_max_idle_time ( guint interval)

◆ g_thread_pool_set_max_threads()

GLIB_AVAILABLE_IN_ALL gboolean g_thread_pool_set_max_threads ( GThreadPool * pool,
gint max_threads,
GError ** error )

◆ g_thread_pool_set_max_unused_threads()

GLIB_AVAILABLE_IN_ALL void g_thread_pool_set_max_unused_threads ( gint max_threads)

◆ g_thread_pool_set_sort_function()

GLIB_AVAILABLE_IN_ALL void g_thread_pool_set_sort_function ( GThreadPool * pool,
GCompareDataFunc func,
gpointer user_data )

◆ g_thread_pool_stop_unused_threads()

GLIB_AVAILABLE_IN_ALL void g_thread_pool_stop_unused_threads ( void )

◆ g_thread_pool_unprocessed()

GLIB_AVAILABLE_IN_ALL guint g_thread_pool_unprocessed ( GThreadPool * pool)