gthreadpool.h File Reference

API published in:
API deprecated in:


#include <_ansi.h>
#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

IMPORT_C GThreadPool g_thread_pool_new (GFunc func, gpointer user_data, gint max_threads, gboolean exclusive, GError **error)
IMPORT_C void  g_thread_pool_push (GThreadPool *pool, gpointer data, GError **error)
IMPORT_C void  g_thread_pool_set_max_threads (GThreadPool *pool, gint max_threads, GError **error)
IMPORT_C gint  g_thread_pool_get_max_threads (GThreadPool *pool)
IMPORT_C guint  g_thread_pool_get_num_threads (GThreadPool *pool)
IMPORT_C guint  g_thread_pool_unprocessed (GThreadPool *pool)
IMPORT_C void  g_thread_pool_free (GThreadPool *pool, gboolean immediate, gboolean wait)
IMPORT_C void  g_thread_pool_set_max_unused_threads (gint max_threads)
IMPORT_C gint  g_thread_pool_get_max_unused_threads (void)
IMPORT_C guint  g_thread_pool_get_num_unused_threads (void)
IMPORT_C void  g_thread_pool_stop_unused_threads (void)
IMPORT_C void  g_thread_pool_set_sort_function (GThreadPool *pool, GCompareDataFunc func, gpointer user_data)
IMPORT_C void  g_thread_pool_set_max_idle_time (guint interval)
IMPORT_C guint  g_thread_pool_get_max_idle_time (void)

Typedef Documentation

typedef typedefG_BEGIN_DECLS struct _GThreadPool GThreadPool
 

Function Documentation

IMPORT_C void g_thread_pool_free GThreadPool pool,
gboolean  immediate,
gboolean  wait
 
IMPORT_C guint g_thread_pool_get_max_idle_time void   ) 
 
IMPORT_C gint g_thread_pool_get_max_threads GThreadPool pool  ) 
 
IMPORT_C gint g_thread_pool_get_max_unused_threads void   ) 
 
IMPORT_C guint g_thread_pool_get_num_threads GThreadPool pool  ) 
 
IMPORT_C guint g_thread_pool_get_num_unused_threads void   ) 
 
IMPORT_C GThreadPool* g_thread_pool_new GFunc  func,
gpointer  user_data,
gint  max_threads,
gboolean  exclusive,
GError **  error
 
IMPORT_C void g_thread_pool_push GThreadPool pool,
gpointer  data,
GError **  error
 
IMPORT_C void g_thread_pool_set_max_idle_time guint  interval  ) 
 
IMPORT_C void g_thread_pool_set_max_threads GThreadPool pool,
gint  max_threads,
GError **  error
 
IMPORT_C void g_thread_pool_set_max_unused_threads gint  max_threads  ) 
 
IMPORT_C void g_thread_pool_set_sort_function GThreadPool pool,
GCompareDataFunc  func,
gpointer  user_data
 
IMPORT_C void g_thread_pool_stop_unused_threads void   ) 
 
IMPORT_C guint g_thread_pool_unprocessed GThreadPool pool  ) 
 

Copyright © Nokia Corporation 2001-2008
Back to top