[erlang-questions] Enhancing the ETS API

Ulf Wiger ulf@REDACTED
Thu Jul 18 09:21:04 CEST 2013


18 jul 2013 kl. 09:04 skrev Jay Nelson <jay@REDACTED>:

> 2) ets:update_counter(Tab, Key, Cmd)
>     where Cmd also allows:
> 
>   {Field_Pos, Inc, Thresh, rollback}
> 
>     Do not change value, but return existing value if Thresh violated

What should it return otherwise?

BR,
Ulf W

Ulf Wiger, Feuerlabs, Inc.
http://feuerlabs.com



More information about the erlang-questions mailing list