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 support for atomics and counters (new BIFs officially available in OTP 22) #302

Open
aronisstav opened this issue Mar 1, 2019 · 2 comments

Comments

@aronisstav
Copy link
Member

Is your feature request related to a problem? Please describe.
In OTP 22 new BIFs that can be involved in races will be officially introduced. They are available already in OTP 21.2

Describe the solution you'd like
Concuerror should be able to execute code that contains them and reason about their race dependencies

Describe alternatives you've considered
TINA.

Additional context
Epiphany after attending @garazdawi talk in Code BEAM SF 2019.

@essen
Copy link
Contributor

essen commented Apr 17, 2021

Running into this. Ranch has started to use counters and as a result I get the atomics error:

* Error: Concuerror does not support calls to built-in erts_internal:atomics_new/2 (found in atomics.erl line 44). If you really need this functionality, contact the developers.

@essen
Copy link
Contributor

essen commented Sep 1, 2021

Hello! Any chance this can be solved in the near future? And alternatively, could there be a flag to ignore such errors and treat them as non-racy functions so that the rest of the code can be analyzed?

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

No branches or pull requests

2 participants