void vortex_thread_pool_remove ( VortexCtx ctx,
int  threads 

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

ctxThe context where the thread pool will be decreased.
threadsThe amount of threads to remove from the pool.

The amount of threads can't be lower than current available threads from the pool and, the thread pool must have at minimum one thread running.

References vortex_mutex_lock(), and vortex_mutex_unlock().