Thread (management)#
Thread Pools#
- intarrow::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 usingSetCpuThreadPoolCapacity().
- Statusarrow::SetCpuThreadPoolCapacity(intthreads)#
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 byGetCpuThreadPoolCapacity().
- intarrow::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 usingSetIOThreadPoolCapacity().
- Statusarrow::io::SetIOThreadPoolCapacity(intthreads)#
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 byGetIOThreadPoolCapacity().

