[erlang-questions] wildcarded resource counters in Gproc

Ulf Wiger ulf@REDACTED
Tue Jun 6 18:50:04 CEST 2017


That wasn't what the catch was for. Rather, it optimistically tries to
update an aggregated counter that may or may not be there. It should NOT be
created if it doesn't exist.

The change that Garrett didn't like was that it optimistically tried to
update TWO different aggregated counters instead of just one.

BR,
Ulf W

2017-01-21 15:48 GMT+00:00 Anthony Ramine <n.oxyde@REDACTED>:

> Out of curiosity, shouldn't you use ets:update_counter/4?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20170606/1449524c/attachment.htm>


More information about the erlang-questions mailing list