[erlang-bugs] Why ets called ac_tab is public ?

Wiesław Bieniek wieslaw.bieniek@REDACTED
Fri Sep 26 15:03:47 CEST 2014


Hello,

I was wondering why the ets holding application envs is public : 
ets:new(ac_tab, [set, public, named_table]) (from application_controller) ?

Reading of envs is done by plain ets reads and setting envs is done by 
call to gen_server.
So it seems protected access shuold be enough.

My question is:

Why is it public ?

Thanks in advance
-- 
*Wiesław Bieniek*
Designer Telco BSS R&D

tel. +48 12 646 12 66
website: www.comarch.pl <http://www.comarch.pl>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20140926/809e3c36/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2197 bytes
Desc: Kryptograficzna sygnatura S/MIME
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20140926/809e3c36/attachment.bin>


More information about the erlang-bugs mailing list