gproc で指定したプロセスに登録されているキー一覧を取得する
voluntas
Posted on January 21, 2020
gproc:info/2 を使う。
Erlang R16B03-1 (erts-5.10.4) [source] [64-bit] [smp:4:4] [async-threads:10] [kernel-poll:false] [dtrace]
Eshell V5.10.4 (abort with ^G)
1> application:start(gproc).
ok
2> gproc:add_local_property(<<"abc">>, 1).
true
3> gproc:info(self(), gproc).
{gproc,[{{p,l,<<"abc">>},1}]}
💖 💪 🙅 🚩
voluntas
Posted on January 21, 2020
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.
Related
undefined Unsafe Impedance: Safe Languages and Safe by Design Software, by Lee Barney and Adolfo Neto
November 2, 2024
rabbitmq RabbitMQ with Web MQTT Plugin vs. Node.js : Performance and Memory Usage Comparison
October 29, 2024
elixir New to dev.to and Excited to Share ProxyConf: My Elixir-Powered API Control Plane
October 25, 2024