Threadpool Functions

March 26, 2020 Contributors
Name Description
ec_queue_async_job Enqueue an asynchronous job
ec_thread_pool_auto_shrink set a thread pool to auto shrink
ec_thread_pool_count Returns the number of thread pools
ec_thread_pool_create_module Create a module thread pool
ec_thread_pool_defer_spawn set a thread pool to defer thread creation
ec_thread_pool_set_backlog set the maximum backlog for an existing thread pool
ec_thread_pool_set_stack_size set the stack size for an existing thread pool
ec_thread_pool_shutdown Shut down the current thread pool

For an overview of this topic see “The Thread Pool API”. To create a thread pool see threadpool.