0byt3m1n1
Path:
C:
/
Program Files
/
R
/
R-4.4.1
/
library
/
parallel
/
tests
/
[
Home
]
File: multicore1.RR
library(parallel) p <- parallel:::mcfork() if (inherits(p, "masterProcess")) { cat("I'm a child! ", Sys.getpid(), "\n") parallel:::mcexit(,"I was a child") } cat("I'm the master\n") unserialize(parallel:::readChildren(1.5)) ## don't do anything here as stdin is eaten.