Other than memory usage, there is no restriction on the number of processes you can start in a chain. A process can even start another instance of itself recursively.
Avoid calling processes recursively in attached mode because this practice can result in an infinite call chain. However, it is often useful for a process to start another instance of itself in detached mode. For example, you can save an image of a monitoring process in a certain state, and continue running the process. In this case, the monitoring process can start a new instance of itself in detached mode, and then execute a Stop operator to terminate itself. The terminated instance is then saved and an administrator can examine it in its preterminated state.
|
Copyright © 2014 CA.
All rights reserved.
|
|