next | previous | forward | backward | up | top | index | toc | Macaulay2 web site
Macaulay2Doc > The Macaulay2 language > system facilities > fork

fork -- fork the process

Description

fork() -- forks the process, returning the process id of the child in the parent, and returning 0 in the child. Warning: if threads are running, any attempt to allocate memory in the child will hang the process.