Shared ETS Access

L. S. <>
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...

         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.



More information about the erlang-questions mailing list