void valvula_thread_pool_add ( ValvulaCtx ctx,
int  threads 
)

Allows to increase the thread pool running on the provided context with the provided amount of threads.

Parameters
ctxThe context where the thread pool to be increased.
threadsThe amount of threads to add into the pool.

References valvula_mutex_lock(), and valvula_mutex_unlock().

Referenced by valvula_thread_pool_init().