<div dir="auto">Hi Vance </div><div dir="auto"><br></div><div dir="auto">Checkout gproc or syn. </div><div dir="auto"><br></div><div dir="auto">/F.</div><div><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><div dir="ltr"><div class="gmail_quote"><div dir="ltr">What advice can I get on a process registry solution for local (only) lookup using term() rather than atom()?<div><br></div><div>The obvious candidates are erlang:register/2 for atoms and global:register_name/2 for other terms:</div><div><br></div><div> erlang:register(Name :: atom()), PidOrPort) -></div><div> global:register_name(Name :: term(), Pid) -> <br clear="all"><div><br></div><div>Which is fine however when it will only be used locally global is a heavyweight solution. </div><div><br></div><div>Should I roll my own using ets? A process? Other?</div></div></div></div></div><div dir="ltr"><div class="gmail_quote"><div dir="ltr"><div><div><br></div>-- <br><div dir="ltr" data-smartmail="gmail_signature"> -Vance</div></div></div></div></div>
</blockquote></div></div>