Shared ETS Access

L. S. lsearchw@REDACTED
Sun Jan 10 22:57:22 CET 2010


Where can I find a full, simple example of one Erlang process creating 
an ETS table and having another process access that table?

After looking at the docs, I seem to understand the basic call to create 
and populate a table...

     %ErlShellProcess1:
         TabId = ets:new(food, [public, named_table]).
         ets:insert(TabId, {drink, cofee}).


... (And I know I may have to use gen_server to create a persistent 
process) but I don't know the mechanics to make the it work.

     %ErlShellProcess2:
         ?

**


More information about the erlang-questions mailing list