wpool_process

Decorator over gen_server that lets wpool_pool control certain aspects of the execution.

Decorator over gen_server that lets wpool_pool control certain aspects of the execution

Functions


start_link(Name::name() (see module wpool), Module::module(), InitArgs::term(), Options::[option() (see module wpool)]) -> {ok, pid()} | ignore | {error, {already_started, pid()} | term()}

Starts a named process

call(Process::name() (see module wpool) | pid(), Call::term(), Timeout::timeout()) -> term()

cast(Process::name() (see module wpool) | pid(), Cast::term()) -> ok

age(Process::name() (see module wpool) | pid()) -> non_neg_integer()

Report how old a process is in microseconds

Fernando Benavides elbrujohalcon@inaka.net