Thread (management)#
Thread Pools#
-
int arrow::GetCpuThreadPoolCapacity()#
Get the capacity of the global thread pool.
Return the number of worker threads in the thread pool to which Arrow dispatches various CPU-bound tasks. This is an ideal number, not necessarily the exact number of threads at a given point in time.
You can change this number using SetCpuThreadPoolCapacity().
-
Status arrow::SetCpuThreadPoolCapacity(int threads)#
Set the capacity of the global thread pool.
Set the number of worker threads int the thread pool to which Arrow dispatches various CPU-bound tasks.
The current number is returned by GetCpuThreadPoolCapacity().
-
int arrow::io::GetIOThreadPoolCapacity()#
Get the capacity of the global I/O thread pool.
Return the number of worker threads in the thread pool to which Arrow dispatches various I/O-bound tasks. This is an ideal number, not necessarily the exact number of threads at a given point in time.
You can change this number using SetIOThreadPoolCapacity().
-
Status arrow::io::SetIOThreadPoolCapacity(int threads)#
Set the capacity of the global I/O thread pool.
Set the number of worker threads in the thread pool to which Arrow dispatches various I/O-bound tasks.
The current number is returned by GetIOThreadPoolCapacity().