[erlang-questions] [Q] ets atomicity

Ladislav Lenart lenartlad@REDACTED
Mon May 14 10:29:21 CEST 2007


Hello,

just one question about ets (and dets): Suppose I have a {key, value}
ets table and two processes (reader and writer) accessing it. If both
access the same row of the table at the same time, is it guaranteed
by the BIFs that the reader process reads either old row or the newly
written one, or put in other words, is row access in ets atomic?

Thanks,

Ladislav Lenart




More information about the erlang-questions mailing list