void valvula_thread_pool_set_num ( int  number)

Allows to configure the number of threads inside the Valvula Thread Pool module.

This function modifies the environment variable "VALVULA_THREADS", setting the value provided. Later, the value will be used by the valvula_init_ctx function to initialize the Valvula Library.

This function must be called before valvula_init_ctx to take effect. See also:

Parameters
numberThe number of working threads that the Valvula Thread Pool will try to start.

References valvula_support_setenv().