[erlang-questions] ETS Multiple Choice Question

Sean Hinde sean.hinde@REDACTED
Wed Dec 12 03:17:33 CET 2007

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


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.
> Russ
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions

More information about the erlang-questions mailing list