Module gr_manager

Process table manager for goldrush.

Behaviours: gen_server.

Description

Process table manager for goldrush.

Manager responsible for the processes, which serve as heir of the Counter and Param ets table processes. This process creates the table and initial data then assigns itself to inherit the ets table if any process responsible for it is killed. It then waits to give it back while that process is recreated by its supervisor.

Function Index

start_link/3 Starts the server.
wait_for_pid/1Wait for a registered process to be associated to a process identifier.

Function Details

start_link/3

start_link(Name, Managee, Data) -> {ok, Pid} | ignore | {error, Error}

Starts the server

wait_for_pid/1

wait_for_pid(Managee) -> ManageePid

Wait for a registered process to be associated to a process identifier.


Generated by EDoc, May 28 2018, 15:25:56.