[erlang-questions] atomic ETS update with a function?

Stanislaw Klekot erlang.org@REDACTED
Tue Nov 20 00:22:09 CET 2018

On Mon, Nov 19, 2018 at 06:44:09PM +0000, Vans S wrote:
> Currently there is no atomic function to update a ETS value when its not a tuple.  For example if one of my ETS values is a map, and I want to put an element into the map, I have no atomic way to do so.

My guess is that there's no function to update non-tuples, because ETS
tables can only contain tuples -- or at least documentation doesn't say
otherwise. Or did I get your question wrong?

Stanislaw Klekot

More information about the erlang-questions mailing list