1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/isForkedChild.R
\name{isForkedChild}
\alias{isForkedChild}
\title{Checks whether or not we are running in a forked child process}
\usage{
isForkedChild()
}
\value{
(logical) Returns TRUE if the running in a forked child
process, otherwise FALSE.
}
\description{
Checks whether or not we are running in a forked child process
}
\details{
Examples of setups and functions that rely on \emph{forked} parallelization
are \code{parallel::makeCluster(n, type = "FORK")}, \code{parallel::mclapply()},
and \code{future::plan("multicore")}.
}
|