gen

DATA TYPES

debug_flag() = trace | log | statistics | debug | {logfile, string()}
emgr_name() = {local, atom()} | {global, term()}
linkage() = link | nolink
option() = {timeout, timeout()} | {debug, [debug_flag()]} | {spawn_opt, [spawn_option() (see module proc_lib)]}
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()