DEV Community

voluntas
voluntas

Posted on

2 1

gproc で指定したプロセスに登録されているキー一覧を取得する

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}]}
Enter fullscreen mode Exit fullscreen mode

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay