[erlang-questions] ETS Multiple Choice Question
Wed Dec 12 03:40:20 CET 2007
Sean Hinde wrote:
> No locking is available in ets.
> Limited support means that a single read or write will succeed without
> being corrupted by another concurrent read/write. If you want locking
> across mutiple read/writes then look at mnesia
What about write in the middle of foldr?
> On 12 Dec 2007, at 01:59, Russell King wrote:
>> According to docs, "This module provides very limited support for
>> concurrent updates. No locking is available."
>> Does ets do:
>> a) table level lock
>> b) or record level lock
>> c) or neither?
>> What is the answer a,b or c?
>> My undergrad spider sense telling me to always pick C, if you are
>> not sure ;).
>> thank you in advance.
>> erlang-questions mailing list
> erlang-questions mailing list
More information about the erlang-questions