[erlang-questions] scope of ets table names?

mats cronqvist <>
Mon Jan 7 13:04:28 CET 2008


On Mon, 2008-01-07 at 10:11 +0100, Bengt Kleberg wrote:
> greetings,
> 
> a named ets table is accessible from all processes on the node.

  no.
  from the ets manual;

new(Name, Options) -> tid()

Options = [Option]
 Option = Type | Access | named_table | {keypos,Pos}
  Access = public | protected | private


  * protected The owner process can read and write to the table. Other
    processes can only read the table. This is the default setting for
    the access rights.
  * private Only the owner process can read or write to the table.
  * public Any process may read or write to the table.


  mats




More information about the erlang-questions mailing list