* does however not mean, that threads are killed. */
void g_thread_pool_free (GThreadPool *pool,
gboolean immediate,
- gboolean wait);
+ gboolean wait_);
/* Set the maximal number of unused threads before threads will be stopped by
* GLib, -1 means no limit */
GCompareDataFunc func,
gpointer user_data);
+/* Set maximum time a thread can be idle in the pool before it is stopped */
+void g_thread_pool_set_max_idle_time (guint interval);
+guint g_thread_pool_get_max_idle_time (void);
+
G_END_DECLS
#endif /* __G_THREADPOOL_H__ */