[erlang-questions] erlang:process_info for global processes
Sat Sep 19 19:45:24 CEST 2015
> On 19.9.2015, at 18:49, Steve Vinoski <> wrote:
> I don't see an API function for what you want, but here's a hack to get it:
> 9> ets:lookup(global_pid_names, Pid).
> But this reaches into the internals of the global module and so isn't the best thing to do. Perhaps the global module needs a new lookup-by-pid or process_info exported function. Or then again, maybe there's a good reason it's not provided.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions