gthreadpool.h File Reference

#include <gthread.h>

Go to the source code of this file.

Classes

struct  _GThreadPool

Typedefs

typedef typedefG_BEGIN_DECLS
struct _GThreadPool 
GThreadPool

Functions

GThreadPoolg_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 Documentation

typedef typedefG_BEGIN_DECLS struct _GThreadPool GThreadPool

Definition at line 34 of file gthreadpool.h.


Function Documentation

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  ) 


Generated on Tue Jul 5 15:58:43 2011 for ROOT_528-00b_version by  doxygen 1.5.1