« Return to Thread: Is ets:insert/2 (with multiple objects) isolated with respect to concurrent readers?

Re: Is ets:insert/2 (with multiple objects) isolated with respect to concurrent readers?

by Sverker Eriksson :: Rate this Message:

Reply to Author | View in Thread

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




________________________________________________________________
erlang-questions mailing list. See http://www.erlang.org/faq.html
erlang-questions (at) erlang.org

 « Return to Thread: Is ets:insert/2 (with multiple objects) isolated with respect to concurrent readers?