RE: ETS: update list value without race condition

Sverker Eriksson <[email protected]>
Newsgroups gmane.comp.lang.erlang.general
Message-ID <AM7PR07MB69003AC062C017B110E7B3BDFD469@AM7PR07MB6900.eurprd07.prod.outlook.com>
Correct.

If the key is fully bound in the match spec no table traversal is needed.

 

/Sverker

 

 

From: Frank Muller <[email protected]> 
Sent: den 22 april 2021 14:37
To: Sverker Eriksson <[email protected]>
Cc: Erlang-Questions Questions <[email protected]>
Subject: Re: ETS: update list value without race condition

 

Old contains the key already.

 

Maybe in this case there no full table scan :-)

Sverker, could you please confirm?
smime.p7s (application/pkcs7-signature, 5.4 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.