function gsk_dbh_mysql_set_max_workers

void gsk_dbh_mysql_set_max_workers
                (GskMainLoop *                  main_loop,
                 int                            max_workers)
Currently the database handle is implemented via a single GskThreadPool per main loop. This function adjusts the number of worker threads (shared by all database handles).

Parameters:

main_loop

The main loop associated with the thread pool.

max_workers

The maximum number of working threads.