gproc
gproc copied to clipboard
Extended process registry for Erlang
[gproc_dist:from_leader](https://github.com/uwiger/gproc/blob/master/src/gproc_dist.erl#L882) expects a tuple with 2 elements, but a tuple with 3 elements is returned in [gproc_lib:remove_wait](https://github.com/uwiger/gproc/blob/master/src/gproc_lib.erl#L270) ` reason: {function_clause, [{gproc_dist,'-from_leader/3-fun-0-', [{delete, [{{n,g,{test,123}},n}, {,{n,g,{test,123}}}], []}], [{file, "/home/user/app1/_build/default/lib/gproc/src/gproc_dist.erl"}, {line,883}]}, {lists,foreach,2,[{file,"lists.erl"},{line,1338}]}, {gproc_dist,from_leader,3,...
Hi, I discovered that gproc:reg/1 failed with a timeout when I started loading my system a bit. Would infinity be a better timeout? If so I could submit a patch....
When you do not use `auto_size`, every time you remove a worker, the size of the pool will become smaller. When it becomes 0, you will never be able to...
and another little fixes to expand `resource` support.
When I clone this repo directly on my local machine and execute `rebar3 compile`, the shell prompts: ```shell src/gproc_dist.erl:25: Warning: behaviour gen_leader undefined src/gproc_dist.erl:553: Warning: erlang:get_stacktrace/0: deprecated; use the new...
First sketch of remote registration and `gproc_ps` subscriptions. The idea is that registering remote pids shouldn't be a problem in itself, but all regs must go through the gproc server,...
_build/default/lib/gproc/src/gproc_dist.erl:553: Warning: erlang:get_stacktrace/0: deprecated; use the new try/catch syntax for retrieving the stack backtrace
Using rebar3: ``` ===> Compiling gproc _build/default/lib/gproc/src/gproc_dist.erl:23: Warning: behaviour gen_leader undefined _build/default/lib/gproc/src/gproc_pool.erl:379: Warning: crypto:rand_uniform/2 is deprecated and will be removed in a future release; use rand:uniform/1 _build/default/lib/gproc/src/gproc_pool.erl:570: Warning: crypto:rand_uniform/2 is...
When I'm trying to start supervision tree - every child process fails with error ** (EXIT) already started: :undefined Reg tuple - {:via, :gproc, {:n, :g, {module, name}}}