void vortex_thread_pool_add ( VortexCtx 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 vortex_mutex_lock(), and vortex_mutex_unlock().

Referenced by vortex_thread_pool_init().