… | |
… | |
254 | |
254 | |
255 | =head1 CONCEPTS |
255 | =head1 CONCEPTS |
256 | |
256 | |
257 | This module can create new processes either by executing a new perl |
257 | This module can create new processes either by executing a new perl |
258 | process, or by forking from an existing "template" process. |
258 | process, or by forking from an existing "template" process. |
|
|
259 | |
|
|
260 | All these processes are called "child processes" (whether they are direct |
|
|
261 | children or not), while the process that manages them is called the |
|
|
262 | "parent process". |
259 | |
263 | |
260 | Each such process comes with its own file handle that can be used to |
264 | Each such process comes with its own file handle that can be used to |
261 | communicate with it (it's actually a socket - one end in the new process, |
265 | communicate with it (it's actually a socket - one end in the new process, |
262 | one end in the main process), and among the things you can do in it are |
266 | one end in the main process), and among the things you can do in it are |
263 | load modules, fork new processes, send file handles to it, and execute |
267 | load modules, fork new processes, send file handles to it, and execute |