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

Leo hachreak@REDACTED
Tue Nov 20 10:26:33 CET 2018

Il giorno mar 20 nov 2018 alle ore 00:22 Stanislaw Klekot <
erlang.org@REDACTED> ha scritto:

> 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?

Neither using qlc module?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20181120/e47b6e0e/attachment.htm>

More information about the erlang-questions mailing list