gen
Types
debug_flag() = trace
| log
| statistics
| debug
| {logfile, string()}
emgr_name() = {local, atom()}
| {global, term()}
| {via, Module :: module(), Name :: term()}
linkage() = link | nolink
option() = {timeout, timeout()}
| {debug, [
debug_flag()
]}
| {spawn_opt, [
proc_lib:spawn_option()
]}
options() = [
option()
]
start_ret() = {ok, pid()} | ignore | {error, term()}
Functions
start(GenMod::module(), LinkP::linkage(), Name::emgr_name(), Mod::module(), Args::term(), Options::options()) -> start_ret()
start(GenMod::module(), LinkP::linkage(), Mod::module(), Args::term(), Options::options()) -> start_ret()
init_it(GenMod, Starter, Parent, Mod, Args, Options) -> term()
init_it(GenMod, Starter, Parent, Name, Mod, Args, Options) -> term()
call(Process, Label, Request) -> term()
call(Pid, Label, Request, Timeout) -> term()
reply(X1, Reply) -> term()
debug_options(Opts) -> term()
format_status_header(TagLine, Pid) -> term()