isForkedChild: Checks whether or not we are running in a forked child...

isForkedChildR Documentation

Checks whether or not we are running in a forked child process

Description

Checks whether or not we are running in a forked child process

Usage

isForkedChild()

Details

Examples of setups and functions that rely on forked parallelization are parallel::makeCluster(n, type = "FORK"), parallel::mclapply(), and future::plan("multicore").

Value

(logical) Returns TRUE if the running in a forked child process, otherwise FALSE.


parallelly documentation built on May 31, 2023, 5:46 p.m.