File: isForkedChild.Rd

package info (click to toggle)
r-cran-parallelly 1.42.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,216 kB
  • sloc: ansic: 111; sh: 13; makefile: 2
file content (20 lines) | stat: -rw-r--r-- 612 bytes parent folder | download | duplicates (2)
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")}.
}