set_lazy_threads: Set Number of Threads for Lazy Arrays

Description Usage Arguments Value See Also

View source: R/common.R

Description

A ported function from threads_fstlib.

Usage

1
set_lazy_threads(nr_of_threads = NULL, reset_after_fork = NULL)

Arguments

nr_of_threads

number of CPU cores to use, or NULL to use all cores

reset_after_fork

whether to reset after forked process

Value

Number of cores currently used.

See Also

threads_fstlib


lazyarray documentation built on July 18, 2020, 9:06 a.m.