Thu Jan 29 14:04:22 CET 2004
On Wed, 28 Jan 2004 22:09:56 -0500, Vance Shipley <>
> What can I safely do with ets?
> The ets manual page says:
> "This module provides very limited support for concurrent updates."
> Can I assume that inserts, deletes and lookups are atomic?
Yes (I thought this was also stated in the manual, but am too lazy to
There is no transaction support though, so if you have to read the
object before writing, ets will not protect you.
There is some support for avoiding a rehash while iterating over an
ets table. This is used by the ets:foldl and ets:foldr functions,
but there is no table locking per se.
More information about the erlang-questions