parquet_get_sort_threads Function

public function parquet_get_sort_threads() result(n)

Reports the sort thread cap, or 0 if sorting is left automatic. This is the raw setting, not the resolved count -- ask pf_sort_threads() for the number a sort would actually use here, which additionally accounts for the OpenMP environment and for being inside a parallel region.

Arguments

None

Return Value integer


Source Code

    integer function parquet_get_sort_threads() result(n)

        n = cfg_sort_threads
    end function parquet_get_sort_threads