Menu

Reference

Process

Functions

fork()Fork the process with fork(2).
pid()The id of the current process.
ppid()The id of the parent process.
supervise()Fork $n workers and keep them running.
workers()Fork into $n workers and return this worker's index.