Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ets:update_counter #1

Closed
wants to merge 3 commits into from

Conversation

TheSobkiewicz
Copy link
Owner

These changes are made under both the "Apache 2.0" and the "GNU Lesser General
Public License 2.1 or later" license terms (dual license).

SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
Added support for ets:update_counter/3 and ets:update_counter/4.
https://www.erlang.org/docs/23/man/ets#update_counter-3
Based on:
atomvm#1405
Currently this solution doesn't support list of UpdateOp to update multiple counters.

Signed-off-by: Tomasz Sobkiewicz <tomasz.sobkiewicz@swmansion.com>
Signed-off-by: Tomasz Sobkiewicz <tomasz.sobkiewicz@swmansion.com>
@TheSobkiewicz TheSobkiewicz changed the base branch from thesobkiewicz/nifs/ets/refactor_insert to main December 17, 2024 16:38
@TheSobkiewicz TheSobkiewicz changed the base branch from main to thesobkiewicz/nifs/ets/refactor_insert December 17, 2024 16:38
@TheSobkiewicz TheSobkiewicz changed the base branch from thesobkiewicz/nifs/ets/refactor_insert to main December 17, 2024 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant