#include <gthread.h>
Go to the source code of this file.
Classes | |
struct | _GThreadPool |
Typedefs | |
typedef typedefG_BEGIN_DECLS struct _GThreadPool | GThreadPool |
Functions | |
GThreadPool * | g_thread_pool_new (GFunc thread_func, gint max_threads, gulong stack_size, gboolean bound, GThreadPriority priority, gboolean exclusive, gpointer user_data, GError **error) |
void | g_thread_pool_push (GThreadPool *pool, gpointer data, GError **error) |
void | g_thread_pool_set_max_threads (GThreadPool *pool, gint max_threads, GError **error) |
gint | g_thread_pool_get_max_threads (GThreadPool *pool) |
guint | g_thread_pool_get_num_threads (GThreadPool *pool) |
guint | g_thread_pool_unprocessed (GThreadPool *pool) |
void | g_thread_pool_free (GThreadPool *pool, gboolean immediate, gboolean wait) |
void | g_thread_pool_set_max_unused_threads (gint max_threads) |
gint | g_thread_pool_get_max_unused_threads (void) |
guint | g_thread_pool_get_num_unused_threads (void) |
void | g_thread_pool_stop_unused_threads (void) |
typedef typedefG_BEGIN_DECLS struct _GThreadPool GThreadPool |
Definition at line 34 of file gthreadpool.h.
void g_thread_pool_free | ( | GThreadPool * | pool, | |
gboolean | immediate, | |||
gboolean | wait | |||
) |
gint g_thread_pool_get_max_threads | ( | GThreadPool * | pool | ) |
gint g_thread_pool_get_max_unused_threads | ( | void | ) |
guint g_thread_pool_get_num_threads | ( | GThreadPool * | pool | ) |
guint g_thread_pool_get_num_unused_threads | ( | void | ) |
GThreadPool* g_thread_pool_new | ( | GFunc | thread_func, | |
gint | max_threads, | |||
gulong | stack_size, | |||
gboolean | bound, | |||
GThreadPriority | priority, | |||
gboolean | exclusive, | |||
gpointer | user_data, | |||
GError ** | error | |||
) |
void g_thread_pool_push | ( | GThreadPool * | pool, | |
gpointer | data, | |||
GError ** | error | |||
) |
void g_thread_pool_set_max_threads | ( | GThreadPool * | pool, | |
gint | max_threads, | |||
GError ** | error | |||
) |
void g_thread_pool_set_max_unused_threads | ( | gint | max_threads | ) |
void g_thread_pool_stop_unused_threads | ( | void | ) |
guint g_thread_pool_unprocessed | ( | GThreadPool * | pool | ) |