ThreadPool
The #GThreadPool struct represents a thread pool. It has three public read-only members, but the underlying struct is bigger, so you must not copy this struct.
Skipped during bindings generation
parameter
data
: gpointerparameter
data
: gpointerfield
func
: Funcfield
user_data
: gpointer
Constructors
Functions
Link copied to clipboard
Returns the maximal number of threads for @pool.
Link copied to clipboard
Returns the number of threads currently running in @pool.
Link copied to clipboard
Sets the maximal allowed number of threads for @pool. A value of -1 means that the maximal number of threads is unlimited. If @pool is an exclusive thread pool, setting the maximal number of threads to -1 is not allowed.
Link copied to clipboard
Returns the number of tasks still unprocessed in @pool.