parquet_get_arrow_threads Function

public function parquet_get_arrow_threads() result(n)

Reports Arrow's current global CPU thread-pool capacity -- what parquet_set_arrow_threads last set it to, or Arrow's own hardware-derived default if it was never set. The counterpart to parquet_set_arrow_threads, and the answer to "how many threads will Arrow actually use here".

Arguments

None

Return Value integer


Source Code

    integer function parquet_get_arrow_threads() result(n)

        n = int(parquet_get_thread_pool_capacity())
    end function parquet_get_arrow_threads