[erlang-questions] Is ets:insert/2 (with multiple objects) isolated with respect to concurrent readers?

Sverker Eriksson sverker@REDACTED
Wed Jul 1 16:02:39 CEST 2009


Ulf Wiger wrote:
> Chris Newcombe wrote:
>> Please could the isolation behavior be officially documented for
>> ets:insert, ets:insert_new, and ets:delete_all_objects?
>
> Granted, you're asking for official documentation, and I
> agree that this is important.
>
As Ulf mentioned; insert, insert_new and delete_all_objects are all both 
atomic and isolated.

I can't see that we ever would want (and dare) to break that.
I will make that guarantee more explicit in the documentation for next 
release.

/Sverker, Erlang/OTP





More information about the erlang-questions mailing list