proc_lib
proc_lib
Module
proc_lib
Module summary
Functions for asynchronous and synchronous start of processes adhering to the OTP design principles.
Description
This module is used to start processes adhering to the OTP Design Principles
. Specifically, the functions in this module are used by the OTP standard behaviors (gen_server
, gen_fsm
, ...) when starting new processes. The functions can also be used to start special processes, user defined processes which comply to the OTP design principles. See Sys and Proc_Lib
in OTP Design Principles for an example.
Some useful information is initialized when a process starts. The registered names, or the process identifiers, of the parent process, and the parent ancestors, are stored together with information about the function initially called in the