Is there a direct way to retrieve the registered name associated with a pid() ? Or do I have to go through the registered() names and do a whereis() on each element of the list to find it?
Is there a direct way to retrieve the registered name associated with a pid()
Share
Check out erlang:process_info/2 and this ItemSpec:
PS. Why do you want this reverse mapping? Is it just for interactive debugging?