Atom generation

Martin J. Logan mlogan@REDACTED
Thu Dec 4 16:54:35 CET 2003

Dhanas, in general it is not a good practice to register processes that
are not static i.e processes that you would not name in hard coded
fashion and put in your supervision tree. Processes that are spawned per
some run time stimulus are not good candidates for registration. If you
need to reference them via some piece of information other than their
pid() it is advisable to create a mapping from that piece of info to the
processes pid. Ets is a nice store for such mappings. 


On Wed, 2003-12-03 at 23:38, Chenniappan,Dhanasekaran [DBA] wrote:
> hi,
>  I have a process that has to be created as multiple instances and register
> with different names, Now my problem is i am not able to craete the process
> names on runtime for register(Atoms like proc1,proc2,...). Please help me in
> this process.
> with Tx
> dhanas

More information about the erlang-questions mailing list