Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

:erlang.process_info(pid, :registered_name) crashes/not implemented. #1286

Open
petermm opened this issue Sep 26, 2024 · 0 comments
Open

:erlang.process_info(pid, :registered_name) crashes/not implemented. #1286

petermm opened this issue Sep 26, 2024 · 0 comments

Comments

@petermm
Copy link
Contributor

petermm commented Sep 26, 2024

While implementing GenServer.ex tests are done for:

    {:ok, pid} = GenServer.start_link(Stack, [:hello], name: nil)
    assert Process.info(pid, :registered_name) == {:registered_name, []}

It's already in exavmlib code base here

def info(pid, :registered_name) do
but obviously a crashy code path.

named/registered processes are already implemented, so would be great with
:erlang.process_info(pid, :registered_name)
support

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant