Concuerror icon indicating copy to clipboard operation
Concuerror copied to clipboard

Add support for atomics and counters (new BIFs officially available in OTP 22)

Open aronisstav opened this issue 5 years ago • 2 comments

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.

aronisstav avatar Mar 01 '19 18:03 aronisstav

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 avatar Apr 17 '21 14:04 essen

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?

essen avatar Sep 01 '21 14:09 essen